in reply to Passing arguments to a Perl script
system('script.pl', $arg1, $arg2); system('script.pl', @args); system($^X, 'script.pl', @args);
In case you actually do have a module, the whole concept of arguments doesn't make sense with modules because modules can be used by multiple other modules in the same process. Your best alternative to passing arguments to a module is to make a class from the module and pass the arguments to the constructor.
use Parser; my $parser = Parser->new(@args);
|
|---|