|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Options with optional values and condititionsby runrig (Abbot) |
| on Oct 02, 2012 at 16:23 UTC ( #996880=note: print w/ replies, xml ) | Need Help?? |
|
What I think you're looking for is: But IMHO, 'options with optional values' are too ambiguous and I've never seen a need for such, so if you are going to have an option, you should either have a required value or no value at all.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||