projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241a59d
)
perlvar: Don’t mention 5.9
author
Father Chrysostomos
<sprout@cpan.org>
Sat, 17 Dec 2011 04:31:38 +0000
(20:31 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 17 Dec 2011 04:31:38 +0000
(20:31 -0800)
pod/perlvar.pod
patch
|
blob
|
history
diff --git
a/pod/perlvar.pod
b/pod/perlvar.pod
index
2a83af3
..
38356c3
100644
(file)
--- a/
pod/perlvar.pod
+++ b/
pod/perlvar.pod
@@
-144,7
+144,7
@@
test. Outside a C<while> test, this will not happen.
=back
As C<$_> is a global variable, this may lead in some cases to unwanted
-side-effects. As of perl 5.
9.1
, you can now use a lexical version of
+side-effects. As of perl 5.
10
, you can now use a lexical version of
C<$_> by declaring it in a file or in a block with C<my>. Moreover,
declaring C<our $_> restores the global C<$_> in the current scope.