Getopt-Usaginator

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        use Getopt::Usaginator ...

        sub run {
            my $self = shift;
            my @arguments = @_;
    
            usage 0 unless @arguments;

            my ( $help );
            {     
                local @ARGV = @arguments;                                  
                GetOptions(
                    'help|h|?' => \$help,
                );
            }

            usage 0 if $help;

            ...
        }

lib/Getopt/Usaginator.pm  view on Meta::CPAN

    use Getopt::Usaginator ...

    sub run {
        my $self = shift;
        my @arguments = @_;
    
        usage 0 unless @arguments;

        my ( $help );
        {     
            local @ARGV = @arguments;                                  
            GetOptions(
                'help|h|?' => \$help,
            );
        }

        usage 0 if $help;

        ...
    }

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

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