I set @ARGV in programs all the time. There's nothing sacred about it.Me too (see e.g. Re^2: How would you do it? Re ARGV, fundamentally! in this very thread). Now that you mention it, perhaps even:
{ local @ARGV=shift; while (<>) { ... } } while (<>) { ... }
In reply to Re^2: How would you do it? Re ARGV, fundamentally!
by blazar
in thread How would you do it? Re ARGV, fundamentally!
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |