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?
Enlarge the circle
Square the circle
Think about rounding the square
Tell them to hire consultants
Fold the square
Use a hammer
Try to create a squircle
Results (174 votes). Check out past polls.