Do you get errors or warnings? Show your code and how you call it.$ cat Foo.pm package Foo; sub p { print "@ARGV\n" } 1; $ $ cat foo.pl #!/usr/bin/env perl use Foo; Foo::p(); $ ./foo.pl abc 123 abc 123 $
In reply to Re: Scope of ARGV
by toolic
in thread Scope of ARGV
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |