If I'm understanding the OP correctly, those two cases should be considered an error, too:
$ ./806698.pl -verbose 1 $ ./806698.pl --v 1
(the former case could be solved with bundling, but the latter would then still be accepted)
In reply to Re^2: How can I have both short and long options with Getopt::Long?
by almut
in thread How can I have both short and long options with Getopt::Long?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |