myPerlProg.pl -number -10
or
myPerlProg.pl -number "-10"
$p = new Getopt::Long::Parser ;
$p->configure('pass_through') ;
$getoptret = $p->getoptions(
'number:s' =>\$num,
.......) ;
If I remove the line with configure I get a message that 10 is an unknown option!
All suggestions are welcome !!In reply to getOptions() parse problem by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |