in reply to
Re: sub that sets $_
in thread
sub that sets $_
remember that
for (LIST)
localizes $_ and
while (<HANDLE>)
doesn't. Generally, for() is safer, but sometimes you want the while() behaviour.
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re^2: sub that sets $_
Select
or
Download
Code
In Section
Seekers of Perl Wisdom