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


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."

So your @ARGV should be empty

  • Comment on Re: using getopts::long and testing for command line options