Jerome Quelin > App-Magpie > App::Magpie::Action::Sort::Package

Download:
App-Magpie-2.009.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 2.009   Source  

NAME ^

App::Magpie::Action::Sort::Package - package in need of a rebuild

VERSION ^

version 2.009

DESCRIPTION ^

This class represents a package to be rebuild, providing some requirements and requiring some others.

ATTRIBUTES ^

name

The name of the package.

provides

The list of provides for the package.

METHODS ^

nb_provides

    my $nb = $pkg->nb_provides;

Return the number of provides for $pkg.

add_provides

    $pkg->add_provides( @provides );

Add @provides to the list of provides for $pkg.

has_no_requires

    my $bool = $pkg->has_no_requires;

Return true if $pkg doesn't have any more requirements.

nb_requires

    my $nb = $pkg->nb_requires;

Return the number of $pkg requirements.

rm_requires

    $pkg->rm_requires( @reqs );

Remove a given list of requirements for $pkg.

add_requires

    $pkg->add_requires( @reqs );

Add a given list of requires to $pkg.

AUTHOR ^

Jerome Quelin <jquelin@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Jerome Quelin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: