summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-06 17:57:52 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-06 17:57:52 +0000
commitb78218b7f806d19fec2aa4d578cd6086927cd9ab (patch)
treeaf71f50c8ef8abc55c731855695298f50c849171 /pod
parent37bd1396ea9d91e675e031705a61835c0083b20a (diff)
downloadperl-b78218b7f806d19fec2aa4d578cd6086927cd9ab.tar.gz
misc tweaks
p4raw-id: //depot/perl@4086
Diffstat (limited to 'pod')
-rw-r--r--pod/perlsyn.pod9
1 files changed, 5 insertions, 4 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index d08a5f946f..680ecb9ad9 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -155,10 +155,11 @@ C<if> an C<else> goes with. If you use C<unless> in place of C<if>,
the sense of the test is reversed.
The C<while> statement executes the block as long as the expression is
-true (does not evaluate to the null string (C<"">) or C<0> or C<"0")>. The LABEL is
-optional, and if present, consists of an identifier followed by a colon.
-The LABEL identifies the loop for the loop control statements C<next>,
-C<last>, and C<redo>. If the LABEL is omitted, the loop control statement
+true (does not evaluate to the null string (C<""> or C<0> or C<"0">).
+The LABEL is optional, and if present, consists of an identifier followed
+by a colon. The LABEL identifies the loop for the loop control
+statements C<next>, C<last>, and C<redo>.
+If the LABEL is omitted, the loop control statement
refers to the innermost enclosing loop. This may include dynamically
looking back your call-stack at run time to find the LABEL. Such
desperate behavior triggers a warning if you use the B<-w> flag.