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


in reply to Re^6: Comparision Utility PERL
in thread Comparision Utility PERL

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?

Replies are listed 'Best First'.
Re^8: Comparision Utility PERL
by vighneshmufc (Acolyte) on Feb 09, 2018 at 10:49 UTC
    i am very new to this hence learning it from easy way