1Class::MOP::Module(3) User Contributed Perl DocumentationClass::MOP::Module(3)
2
3
4

NAME

6       Class::MOP::Module - Module Meta Object
7

VERSION

9       version 2.2201
10

DESCRIPTION

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

INHERITANCE

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

METHODS

19   Class::MOP::Module->create($package, %options)
20       Overrides "create" from Class::MOP::Package to provide these additional
21       options:
22
23       "version"
24           A version number, to be installed in the $VERSION package global
25           variable.
26
27       "authority"
28           An authority, to be installed in the $AUTHORITY package global
29           variable.
30
31           This is a legacy field and its use is not recommended.
32
33   $metamodule->version
34       This is a read-only attribute which returns the $VERSION of the
35       package, if one exists.
36
37   $metamodule->authority
38       This is a read-only attribute which returns the $AUTHORITY of the
39       package, if one exists.
40
41   $metamodule->identifier
42       This constructs a string which combines the name, version and
43       authority.
44
45   Class::MOP::Module->meta
46       This will return a Class::MOP::Class instance for this class.
47

AUTHORS

49       •   Stevan Little <stevan@cpan.org>
50
51       •   Dave Rolsky <autarch@urth.org>
52
53       •   Jesse Luehrs <doy@cpan.org>
54
55       •   Shawn M Moore <sartak@cpan.org>
56
57       •   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
58
59       •   Karen Etheridge <ether@cpan.org>
60
61       •   Florian Ragwitz <rafl@debian.org>
62
63       •   Hans Dieter Pearcey <hdp@cpan.org>
64
65       •   Chris Prather <chris@prather.org>
66
67       •   Matt S Trout <mstrout@cpan.org>
68
70       This software is copyright (c) 2006 by Infinity Interactive, Inc.
71
72       This is free software; you can redistribute it and/or modify it under
73       the same terms as the Perl 5 programming language system itself.
74
75
76
77perl v5.36.0                      2022-07-22             Class::MOP::Module(3)
Impressum