in reply to using getopts::long and testing for command line options
according to the GetOpt cpan page:
"The command line options are taken from array @ARGV. Upon completion of GetOptions, @ARGV will contain the rest (i.e. the non-options) of the command line."
"The command line options are taken from array @ARGV. Upon completion of GetOptions, @ARGV will contain the rest (i.e. the non-options) of the command line."
So your @ARGV should be empty
|
---|
In Section
Seekers of Perl Wisdom