508
508
my $long = exists $self->{opts}->{$opt} ? $opt
509
509
: exists $self->{short_opts}->{$opt} ? $self->{short_opts}->{$opt}
510
510
: die "Getopt::Long gave a nonexistent option: $opt";
512
511
$opt = $self->{opts}->{$long};
513
512
if ( $opt->{is_cumulative} ) {