>
>Hi all,
>
>I was trying to write a script. I wanted to use multiple characters in
>command line switches.
>For example
>myScript -f1 <file1> -f2 <file2>
>
>now getopt or getopts allows only for single character switches (please
>correct me if its not true).
>Is there any module which will allow my to have multiple character switches.


May you take a look at Getopt::Long?
http://search.cpan.org/~jv/Getopt-Long-2.36/lib/Getopt/Long.pm

--
http://home.arcor.de/jeffpang/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to