I just tried this on perl 5.005_02 and I found that it would not work with local *ARGV but local @ARGV worked.
I assume localizing the ARGV filehandle somehow broke the <ARGV> magic. It works correctly on perl 5.6.0.
In reply to Re: •Re: Editing Files In Place
by bunnyman
in thread Editing Files In Place
by gnubbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |