![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^5: Dynamic optionby Anonymous Monk |
on Mar 16, 2011 at 12:14 UTC ( #893534=note: print w/replies, xml ) | Need Help?? |
OP should look into Getopt::Euclid. It will provide to specify optional "sub options", in terms of plain old strings. Based on presence of those strings, run the code as you would desire. I would guess one would access a sub option, for example, as $ARGV{-input}->{-nd}. I personally do not want to deal with G::Euclid due to much stuffing of POD.
In Section
Seekers of Perl Wisdom
|
|