in reply to
How do I localize $_ in while loops?
Please note that
shift
does not populate
$_
by default, so
ajdelore
's "
Another way to do it
" is not. The assignment still has to be explicit.
Comment on
Re: How do I localize $_ in while loops?
In Section
Seekers of Perl Wisdom