|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: getting args without clobbering @ARGVby ioannis (Curate) |
| on May 11, 2006 at 19:59 UTC ( #548821=note: print w/ replies, xml ) | Need Help?? |
|
While previous posts prop better suggestions, another way is to declare @ARGV with local in a block so it reclaims the old values when it exits the block. As shown bellow, add lines #7, #8, and 19 to the old code:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||