summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-02-19 16:07:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-19 15:18:03 +0000
commite855abcaff9a6a855a1a816cf0034aa0ebf64476 (patch)
treeb6ba73a6b27446209e3d44baaf8533770cfb2f2b /pod/perlsub.pod
parentbce51722f0d372813bed6c41fed0564da00b0d61 (diff)
downloadperl-e855abcaff9a6a855a1a816cf0034aa0ebf64476.tar.gz
Re: {PATCH] Re: Lexical scoping bug with EXPR for EXPR?
Message-Id: <200202191607.QAA25164@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@14774
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 168f305f8f..b929c988d6 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -328,10 +328,10 @@ of that conditional, including any C<elsif> and C<else> clauses,
but not beyond it.
B<NOTE:> None of the foregoing text applies to C<if/unless>,
-C<while/until> or C<for> modifiers appended to simple statements. Such
-modifiers are not control structures and have no effect on scoping. Use
-of such modifiers in conjunction with C<my> may have unexpected effects,
-and are best avoided. A future release of Perl may define precise
+C<while/until> or C<for> modifiers appended to simple statements. Such
+modifiers are not control structures and have no effect on scoping. The
+use of such modifiers in conjunction with C<my> is best avoided, as it may
+have unexpected effects. A future release of Perl may define precise
semantics for constructs such as C<my $foo = 1 if $bar>.
The C<foreach> loop defaults to scoping its index variable dynamically