I´m searching of a way to automatically show usage information, if the user happens to give in wrong commandline options. I assumed (from experiments), that $result is the number of successfully parsed options and undef in case of a error. It is not :-(
Very (seems useless) behaviour of $result:
undef if one false input
1 if one ok input
undef if two ok inputs
??? enlighten me please
Ciao
In reply to Getopt::Long return value by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |