3.2.120 redo
redo
The
redo
command restarts a loop block without evaluating the
conditional again. The
continue
block, if any, is not executed. If
the
# A loop that joins lines continued with a backslash.
LINE: while (<STDIN>) {
if (s/\\\n$// and $nextline = <STDIN>) {
$_ .= $nextline;
redo LINE;
}
print; # or whatever...
}
|
|