I tend to just use a hash and be done with it:
my %opt; GetOptions(\%opt,'verbose','all');
Sure, $verbose is a few less characters than $opt{verbose}, but for me it's a nice way to separate the data that came from outside my script.
In reply to Re: GetOpt::Long usage style
by mattriff
in thread GetOpt::Long usage style
by demerphq
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |