in reply to Re^4: Comparision Utility PERLin thread Comparision Utility PERL
In Re^3: Comparision Utility PERL I recommended looking in the Tutorials section. If you had done that you might have found Parsing your script's command line which explains all.
For those 4 variables I would do this:
my ($file1, $file2, $file3, @cols) = @ARGV;
But I would not use $file1, $file2, $file3 as names in the first place as they aren't all that descriptive. Perhaps $patternfile, $inputfile, $outputfile might be my choices.
What do you have against Getopt::Long?
Throwing nuclear weapons into the sun
Making everybody on Earth disappear
A threat from an alien with a mighty robot
A new technology or communications medium
Providing a magic fish to a Miss Universe
Establishing a Group mind
Results (163 votes). Check out past polls.