I think you meant to use $0 instead of @ARGV:Usage: $ARGV[0] -type[A|B] -OEMID id -version nnnn -out filename
$ARGV[0] is the first argument, not the program's command name itself. See $0 for the command name.
In reply to Re^2: calling a subroutine from another subroutine
by toolic
in thread calling a subroutine from another subroutine
by abcdefg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |