diff options
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r-- | pod/perlsyn.pod | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index 6cd253ae22..89a68ce888 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -145,6 +145,8 @@ L<perldata/Scalar values> for definitions of true and false. The C<for(each)> modifier is an iterator: it executes the statement once for each item in the LIST (with C<$_> aliased to each item in turn). +There is no syntax to specify a C-style for loop or a lexically scoped +iteration variable in this form. print "Hello $_!\n" for qw(world Dolly nurse); |