I am new to perl and I am tasked to do the following:
I am trying to pass two values from a unix script into a perl script.
In my perl script I have the following to read the values.
use File::Basename;
$infile_name = shift(@ARGV);
And when I do a print "$infile_name" it only gives me the second value passed and omits the first one. How can I read both the values passed into this perl script?
Thanks
In reply to ARGV Usage
by pp