jonjacobmoon has asked for the wisdom of the Perl Monks concerning the following question:
How do I change this behavior? Right now, if I do this:
myscript.pl -file -name
file will be set to "-name" which is undesirable because I have name set to be an option as well. I have written a solution but was hoping someone might now of a configuration option that would allow me to avoid the workaround.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getopts::Long -- changing its behavior
by djantzen (Priest) on Feb 06, 2002 at 03:33 UTC | |
|
Re: Getopts::Long -- changing its behavior
by lachoy (Parson) on Feb 06, 2002 at 04:02 UTC | |
by jonjacobmoon (Pilgrim) on Feb 06, 2002 at 04:53 UTC | |
by seattlejohn (Deacon) on Feb 06, 2002 at 07:14 UTC | |
by jonjacobmoon (Pilgrim) on Feb 06, 2002 at 14:31 UTC |