Can you post simple test code?
I've taken to starting my programs with:
#!/usr/bin/env perl use Modern::Perl; exit main(@ARGV); sub main { my @args = @_; ... exit 0; }
... but @ARGV is available by name even within main().
Improve your skills with Modern Perl: the free book.
In reply to Re: Scope of ARGV
by chromatic
in thread Scope of ARGV
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |