diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2002-02-19 16:07:52 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-19 15:18:03 +0000 |
commit | e855abcaff9a6a855a1a816cf0034aa0ebf64476 (patch) | |
tree | b6ba73a6b27446209e3d44baaf8533770cfb2f2b /pod/perlsub.pod | |
parent | bce51722f0d372813bed6c41fed0564da00b0d61 (diff) | |
download | perl-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.pod | 8 |
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 |