The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Magpie::Action::Old::Module - module that has a newer version available

VERSION

version 2.006

DESCRIPTION

This class represents an installed Perl module that has a newer version available on CPAN.

ATTRIBUTES

name

The name of the module.

oldver

The version of the module as currently installed.

newver

The module version, as available on CPAN.

packages

The Mageia packages holding the module (there can be more than one). Core packages (perl and perl-base) are excluded from this list.

is_core

Whether the module is shipped in a core Perl package.

METHODS

category

    my $str = $module->category;

Return the module category:

  • core - one of the core packages (perl, perl-base)

  • dual-lifed - core package + one other package

  • normal - plain, non-core regular package

  • orphan - installed package not shipped by a package (inherited from mandriva, or not yet submitted)

  • strange - shipped by more than one non-core package

  • nodiff - when cpan reports a difference although there isn't

  • null - when old or new versions are 0.0000

  • unparsable - current version unparsable

is_ignored

    my $bool = $module->is_ignored;

Return true if $module is ignored due to its presence in SHAREDIR/modules.skip. Note that it will not match against SHAREDIR/packages.skip.

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.