Pedro Antonio Reche wrote:
> Hi all, I using the code below that uses the Getopt::Std to process
> the arguments from the command line (init subroutine).  However, for
> some reason I do not get the  arguments from the switches. 
> ...
>     getopts('pab');

If the options take arguments, you need to put a colon after them.

   getopts('p:a:b:') or exit 1;   # exit if invalid argument

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to