Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How do I localize $_ in while loops?by Roy Johnson (Monsignor) |
on Nov 03, 2003 at 22:30 UTC ( [id://304269]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|