Class::MOP::Module.3pm

Langue: en

Version: 2008-02-08 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Class::MOP::Module - Module Meta Object

DESCRIPTION

This is an abstraction of a Perl 5 module, it is a superclass of Class::MOP::Class. A module essentially a package with metadata, in our case the version and authority.

METHODS

meta
Returns a metaclass for this package.
initialize ($package_name)
This will initialize a Class::MOP::Module instance which represents the module of $package_name.
version
This is a read-only attribute which returns the $VERSION of the package for the given instance.
authority
This is a read-only attribute which returns the $AUTHORITY of the package for the given instance.
identifier
This constructs a string of the name, version and authority.

AUTHORS

Stevan Little <stevan@iinteractive.com> Copyright 2006-2008 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.