Try just testing the number of incoming parms, which is in @ARGV..
if ( @ARGV == 0 || $help ) { usage(); exit(1); }
In reply to Re: GetOptions and help
by pboin
in thread GetOptions and help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |