Pegex-Cmd

 view release on metacpan or  search on metacpan

lib/Pegex/Cmd.pm  view on Meta::CPAN

    print <<"...";
The 'pegex' compiler command v$VERSION

Using the Perl Pegex module v$Pegex::VERSION
...
}

sub getopt {
    my ($self, @argv) = @_;

    local @ARGV = @argv;

    GetOptions(
        "to=s" => \$self->{to},
        "boot" => \$self->{boot},
    ) or error;

    if (not @ARGV) {
        print usage;
        exit 0;
    }



( run in 0.236 second using v1.01-cache-2.11-cpan-cba739cd03b )