Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi monks,
the problem is i need to give --verify as the command line option which is long and has a argument. And -x which is a single character option which also has a argument with it inside a perl program i would like to know how do i do this.....ie, it has to be something like this
$ perl ex.pl --verify filename.txt -x name
please send in ur answers to syedtoah@yahoo.com or sibmail@indiatimes.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to use --xxx as a option using getopts
by japhy (Canon) on Aug 19, 2004 at 15:30 UTC | |
|
Re: how to use --xxx as a option using getopts
by beernuts (Pilgrim) on Aug 19, 2004 at 15:36 UTC |