Tk-Getopt
view release on metacpan or search on metacpan
}
if (@aliases) {
$a{'alias'} = \@aliases;
}
push(@{$self->{'opttable'}}, [$o, $c, undef, \%a]);
}
} else {
die "No opttable array ref or getopt hash ref";
}
$self->{'caller'} = (caller)[0];
$self->{'filename'} = delete $a{'-filename'};
$self->{'nosafe'} = delete $a{'-nosafe'};
$self->{'useerrordialog'} = delete $a{'-useerrordialog'};
die "Unrecognized arguments: " . join(" ", %a) if %a;
bless $self, $pkg;
}
# Return a list with all option names, that is, section labels and
( run in 0.270 second using v1.01-cache-2.11-cpan-1e74a51a04c )