From: Abhijit Menon-Sen Date: Fri, 22 Feb 2002 21:14:29 +0000 (+0000) Subject: Minor clarifications as suggested by Anton Tagunov. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=36e7a0659715b23ab06e40d482d1dd04ea9043a6;p=p5sagit%2Fp5-mst-13.2.git Minor clarifications as suggested by Anton Tagunov. p4raw-id: //depot/perl@14838 --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 9d0c920..bc0925d 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 block on the above code, it would get -executed even on discarded lines. This is often used to reset line counters -or C one-time matches. +Note that if there were a C 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 one-time matches: # inspired by :1,$g/fred/s//WILMA/ while (<>) {