App::CPAN2Pkg::Repository - repository details for a given module


App-CPAN2Pkg documentation  | view source Contained in the App-CPAN2Pkg distribution.

Index


NAME

Top

App::CPAN2Pkg::Repository - repository details for a given module

VERSION

Top

version 2.111781

DESCRIPTION

Top

cpan2pkg deals with two kinds of systems: the local system, and upstream distribution repository. A module has some characteristics on both systems (such as availability, etc). Those characteristics are gathered in this module.

ATTRIBUTES

Top

status

The status of the module: available, building, etc.

prereqs

    my @prereqs = $repo->prereqs;

The prerequesites needed before attempting to build the module.

METHODS

Top

can_build

    my $bool = $repo->can_build;

Return true if there are no more missing prereqs.

miss_prereq

    my $bool = $repo->miss_prereq( $modname );

Return true if $modname is missing on the system.

rm_prereq

    $repo->rm_prereq( $modname );

Remove $modname as a missing prereq on the repository.

add_prereq

    $repo->add_prereq( $modname );

Mark a prereq as missing on the repository.

AUTHOR

Top

Jerome Quelin <jquelin@gmail.com>

COPYRIGHT AND LICENSE

Top


App-CPAN2Pkg documentation  | view source Contained in the App-CPAN2Pkg distribution.