App-CPANRepo

 view release on metacpan or  search on metacpan

lib/App/CPANRepo.pm  view on Meta::CPAN

    }
}

sub parse_options {
    my ($class, @argv) = @_;

    my $parser = Getopt::Long::Parser->new(
        config => [qw/posix_default no_ignore_case bundling pass_through auto_help/],
    );

    local @ARGV = @argv;
    $parser->getoptions(\my %opt) or Pod::Usage::pod2usage(1);
    @argv = @ARGV;

    Pod::Usage::pod2usage(1) unless @argv;
    (\%opt, \@argv);
}

1;
__END__

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.996 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )