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


Module-Packaged-Generator documentation  | view source Contained in the Module-Packaged-Generator distribution.

Index


NAME

Top

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

VERSION

Top

version 1.111040

DESCRIPTION

Top

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

Top

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

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Module-Packaged-Generator documentation  | view source Contained in the Module-Packaged-Generator distribution.