Don't ask to ask, just ask | |
PerlMonks |
Another Getopt::Long questionsby dragonchild (Archbishop) |
on Apr 09, 2003 at 23:21 UTC ( [id://249471]=perlquestion: print w/replies, xml ) | Need Help?? |
dragonchild has asked for the wisdom of the Perl Monks concerning the following question:
I've got the following call:
As that stands, the option will be put into either $options{length} or $options{height}. Is there some way I can force Getopt::Long to always put it into $options{length}? (And, yes, I've RTFM'ed. It talks about synonyms and it talks about hashrefs, but it doesn't talk about synonyms and hashrefs together.) ------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
Back to
Seekers of Perl Wisdom
|
|