summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorRadu Greab <radu@netsoft.ro>2001-02-23 20:50:48 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-26 14:35:53 +0000
commit17b829faa49fc1af815121853b94d0a80a9ad31f (patch)
tree87159b181d8eadad8a1f4f36c714ec44e097398d /pod
parentd6179d6f73c0b13107fbcf65d20105cdfbc30dbc (diff)
downloadperl-17b829faa49fc1af815121853b94d0a80a9ad31f.tar.gz
small fix in pod/perlop.pod
Message-ID: <14998.38120.623015.916165@ix.netsoft.ro> p4raw-id: //depot/perl@8948
Diffstat (limited to 'pod')
-rw-r--r--pod/perlop.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index d4349aeff7..2bc889d186 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1605,7 +1605,7 @@ of a C<while> statement (even if disguised as a C<for(;;)> loop),
the value is automatically assigned to the global variable $_,
destroying whatever was there previously. (This may seem like an
odd thing to you, but you'll use the construct in almost every Perl
-script you write.) The $_ variables is not implicitly localized.
+script you write.) The $_ variable is not implicitly localized.
You'll have to put a C<local $_;> before the loop if you want that
to happen.