This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
#84774: local $_ calls STORE when $_ is aliased to a tied hash element
authorJan Dubois <jand@activestate.com>
Fri, 18 Mar 2011 22:37:20 +0000 (15:37 -0700)
committerJan Dubois <jand@activestate.com>
Sun, 20 Mar 2011 07:46:58 +0000 (00:46 -0700)
commit658a9f31e43dcb2b52fd873b87444968c94594fa
treeef56b0f86d8ba09c7e7fb228c43a60cc578ce51b
parent8d5d17fad2e8a7a4ca7bd0e424933fd94274f607
#84774: local $_ calls STORE when $_ is aliased to a tied hash element

local($_) will now strip all magic from $_, so that it is always safe
to localize $_, regardless what kind of special (or tied) variable it
may have been aliased to.
mg.c
pod/perldelta.pod
pod/perlsub.pod
t/op/local.t