in reply to Re: Getopts::Long -- changing its behavior
in thread Getopts::Long -- changing its behavior
myscript.pl -file -name
And get the error that -file requires a string. In the case here, I don't get the error. I get file set to "-name". In other words, I want getopts to recognize that a switch has followed the one I wanted to take a string instead of a string as a required, so the user does not need to worry about what order s/he puts the switch in.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Getopts::Long -- changing its behavior
by seattlejohn (Deacon) on Feb 06, 2002 at 07:14 UTC | |
by jonjacobmoon (Pilgrim) on Feb 06, 2002 at 14:31 UTC |