Class::MOP::Module.3pm

Langue: en

Version: 2010-06-05 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Class::MOP::Module - Module Meta Object

DESCRIPTION

A module is essentially a Class::MOP::Package with metadata, in our case the version and authority.

INHERITANCE

Class::MOP::Module is a subclass of Class::MOP::Package.

METHODS

$metamodule->version
This is a read-only attribute which returns the $VERSION of the package, if one exists.
$metamodule->authority
This is a read-only attribute which returns the $AUTHORITY of the package, if one exists.
$metamodule->identifier
This constructs a string which combines the name, version and authority.
Class::MOP::Module->meta
This will return a Class::MOP::Class instance for this class.

AUTHORS

Stevan Little <stevan@iinteractive.com> Copyright 2006-2010 by Infinity Interactive, Inc.

<http://www.iinteractive.com>

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