http://www.perlmonks.org?node_id=151365


in reply to Reading in parameters

Hi!

In test.pl use the following:
my ( $arg1 , $arg2, $arg3 )=@ARGV;
And they should magically appear, and be usable, in test.pl

And might I advice you to use:
system (test.pl,$number,$name,$type);
If you`re not gonna use the shell, just do it for safety`s sake...

Hope this helps!

GreetZ!,

print "profeth still\n" if /bird|devil/;