NAME

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

VERSION

version 1.122720

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

  • unparsable - current version unparsable

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.