I set @ARGV in programs all the time. There's nothing sacred about it.my ($weird, @rest) = @ARGV; @ARGV = $weird; while (<>) { ... } @ARGV = @rest; while (<>) { ... }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: How would you do it? Re ARGV, fundamentally!
by merlyn
in thread How would you do it? Re ARGV, fundamentally!
by blazar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |