From: Rafael Garcia-Suarez Date: Thu, 28 Jul 2005 17:34:36 +0000 (+0000) Subject: Clarification to the syntax of loop modifiers X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6b275a1faab554e85a79bafae9c99ec0d6ed3d18;p=p5sagit%2Fp5-mst-13.2.git Clarification to the syntax of loop modifiers by Piotr Fusik p4raw-id: //depot/perl@25241 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 3fd0032..0bbd489 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1229,9 +1229,10 @@ behavior may be fixed in a future release. =item do BLOCK Not really a function. Returns the value of the last command in the -sequence of commands indicated by BLOCK. When modified by a loop -modifier, executes the BLOCK once before testing the loop condition. -(On other statements the loop modifiers test the conditional first.) +sequence of commands indicated by BLOCK. When modified by the C or +C loop modifier, executes the BLOCK once before testing the loop +condition. (On other statements the loop modifiers test the conditional +first.) C does I count as a loop, so the loop control statements C, C, or C cannot be used to leave or restart the block.