also document Class::MOP::Module::create
Jesse Luehrs [Fri, 22 Apr 2011 23:08:37 +0000 (18:08 -0500)]
lib/Class/MOP/Module.pm
xt/release/pod-coverage.t

index ea1433d..077cd38 100644 (file)
@@ -110,6 +110,23 @@ B<Class::MOP::Module> is a subclass of L<Class::MOP::Package>.
 
 =over 4
 
+=item B<< Class::MOP::Module->create($package, %options) >>
+
+Overrides C<create> from L<Class::MOP::Package> to provide these additional
+options:
+
+=over 4
+
+=item C<version>
+
+A version number, to be installed in the C<$VERSION> package global variable.
+
+=item C<authority>
+
+An authority, to be installed in the C<$AUTHORITY> package global variable.
+
+=back
+
 =item B<< $metamodule->version >>
 
 This is a read-only attribute which returns the C<$VERSION> of the
index b066886..87504b7 100644 (file)
@@ -101,7 +101,6 @@ my %trustme = (
     'Class::MOP::Mixin::AttributeCore' => ['.+'],
     'Class::MOP::Mixin::HasAttributes' => ['.+'],
     'Class::MOP::Mixin::HasMethods'    => ['.+'],
-    'Class::MOP::Module'               => ['create'],
     'Class::MOP::Package'    => [ 'get_method_map', 'wrap_method_body' ],
     'Moose::Error::Confess'  => ['new'],
     'Moose::Meta::Attribute' => [