Using runrig's example:
my %opts; GetOptions(map { ($_ => \$opts{$_}) } "a".."z"); my @selected = grep { $opts{$_} } keys %opts;
In reply to Re^3: Getting selected options from GetOptions()
by zwon
in thread Getting selected options from GetOptions()
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |