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?