in reply to
Re: Side Effects
in thread
Side Effects
The preferred way to do this is
local *_;
(which of course also affects @_, &_, etc.).
local $_;
can have problems if what $_ is aliased to is magic. In 5.10, the preferred way will be
my $_;
.
Comment on
Re^2: Side Effects
Select
or
Download
Code
In Section
Seekers of Perl Wisdom