|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Answer: How do I localize $_ in while loops? |
| ( #304269=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > input and output > How do I localize $_ in while loops? contributed by Roy Johnson
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.
|
|
||||||||||||||||||