Jérôme Quelin
and 1 contributors

NAME

Module::Packaged::Generator::Module - a class representing a perl module

VERSION

version 1.111930

DESCRIPTION

This module represent a Perl module with various attributes. It should be used by the distribution drivers fetching the list of available modules.

Note that for dist to return a meaningful result, it needs the CPANPLUS index, which should exist if you already used CPANPLUS at least once.

ATTRIBUTES

name

This is the module name, such as Foo::Bar::Baz. It is required.

version

This is the module version. It isn't mandatory.

dist

This is the CPAN distribution the module is part of. It's lazily built on first access, taken from the 02packages.details.txt.gz from CPANPLUS work directory. It will be eg Foo-Bar.

pkgname

This is the name of the package holding this module in the Linux distribution. Chances are that it looks like perl-Foo-Bar on Mageia or Mandriva, libfoo-bar-perl on Debian, etc. It's required.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 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.