summaryrefslogtreecommitdiff
path: root/pod/perlsyn.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-02 04:30:22 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-02 04:30:22 +0000
commit3ce0d27165e3cb29a307d40968a8000b48bea3eb (patch)
treecaa8cc89dfd0952783106715ae8284c4e1067e00 /pod/perlsyn.pod
parent220398a0501cffd114fa4441a4a685dc486ed3d8 (diff)
downloadperl-3ce0d27165e3cb29a307d40968a8000b48bea3eb.tar.gz
various documentation tweaks suggested by M. J. T. Guy
p4raw-id: //depot/perl@4616
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r--pod/perlsyn.pod2
1 files changed, 2 insertions, 0 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index 0dd842d2a2..1f3ae50f2d 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -163,6 +163,8 @@ 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.
+Unlike a C<foreach> statement, a C<while> statement never implicitly
+localises any variables.
If there is a C<continue> BLOCK, it is always executed just before the
conditional is about to be evaluated again, just like the third part of a