503
503
my $long = exists $self->{opts}->{$opt} ? $opt
504
504
: exists $self->{short_opts}->{$opt} ? $self->{short_opts}->{$opt}
505
505
: die "Getopt::Long gave a nonexistent option: $opt";
507
506
$opt = $self->{opts}->{$long};
508
507
if ( $opt->{is_cumulative} ) {