in reply to GetOptions and help
Try just testing the number of incoming parms, which is in @ARGV..
if ( @ARGV == 0 || $help ) { usage(); exit(1); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: GetOptions and help
by Anonymous Monk on Mar 16, 2006 at 13:01 UTC | |
by fishbot_v2 (Chaplain) on Mar 16, 2006 at 16:38 UTC |