NAME

App::CPAN::Get - Base class for cpan-get script.

SYNOPSIS

use App::CPAN::Get;

my $app = App::CPAN::Get->new;
my $exit_code = $app->run;

METHODS

new

my $app = App::CPAN::Get->new;

Constructor.

run

my $exit_code = $app->run;

Run.

Returns 1 for error, 0 for success.

EXAMPLE

use strict;
use warnings;

use App::CPAN::Get;

# Arguments.
@ARGV = (
        'App::Pod::Example',
);

# Run.
exit App::CPAN::Get->new->run;

# Output like:

DEPENDENCIES

Class::Utils, Error::Pure, Getopt::Std, IO::Barf, LWP::UserAgent Menlo::Index::MetaCPAN URI::cpan.

REPOSITORY

https://github.com/michal-josef-spacek/App-CPAN-Get

AUTHOR

Michal Josef Špaček mailto:skim@cpan.org

http://skim.cz

LICENSE AND COPYRIGHT

© 2021 Michal Josef Špaček

BSD 2-Clause License

VERSION

0.01