summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2002-02-22 21:14:29 +0000
committerAbhijit Menon-Sen <ams@wiw.org>2002-02-22 21:14:29 +0000
commitf08da76dda98678892a9d3e9efed7c15f0b97a2a (patch)
treee84cf2d5ef573da9248db1fd622c9630c435ddaf /pod
parentb6b1bd7872497d78bbb9bf2233160a8aec5efe4a (diff)
downloadperl-f08da76dda98678892a9d3e9efed7c15f0b97a2a.tar.gz
Minor clarifications as suggested by Anton Tagunov.
p4raw-id: //depot/perl@14838
Diffstat (limited to 'pod')
-rw-r--r--pod/perlsyn.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 9d0c9209ea..bc0925d6a3 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -230,9 +230,10 @@ which is Perl short-hand for the more explicitly written version:
# 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 (<>) {