Change 14838 by ams@lustre on 2002/02/22 21:14:29
Minor clarifications as suggested by Anton Tagunov.
Affected files ...
.... //depot/perl/pod/perlsyn.pod#30 edit
Differences ...
==== //depot/perl/pod/perlsyn.pod#30 (text) ====
Index: perl/pod/perlsyn.pod
--- perl/pod/perlsyn.pod.~1~ Fri Feb 22 14:30:06 2002
+++ perl/pod/perlsyn.pod Fri Feb 22 14:30:06 2002
@@ -230,9 +230,10 @@
# now process $line
}
-Note that if there were a C<continue> block on the above code, it would get
-executed even on discarded lines. This is often used to reset line counters
-or C<?pat?> one-time matches.
+Note that if there were a C<continue> block on the above code, it would
+get executed only on lines discarded by the regex (since redo skips the
+continue block). A continue block is often used to reset line counters
+or C<?pat?> one-time matches:
# inspired by :1,$g/fred/s//WILMA/
while (<>) {
End of Patch.