switching over to dzil
[gitmo/MooseX-Types.git] / lib / MooseX / Types / CheckedUtilExports.pm
index d3c48da..0294e64 100644 (file)
@@ -45,10 +45,6 @@ From L<Moose::Util::TypeConstraints>. See that module for syntax.
 
 =cut
 
-Moose::Exporter->setup_import_methods(
-    with_caller => [ @exports, 'class_type', 'role_type' ]
-);
-
 for my $export (@exports) {
     no strict 'refs';
 
@@ -67,6 +63,10 @@ for my $export (@exports) {
     }
 }
 
+Moose::Exporter->setup_import_methods(
+    with_caller => [ @exports, 'class_type', 'role_type' ]
+);
+
 sub class_type {
     my $caller = shift;
 
@@ -87,10 +87,6 @@ sub role_type ($;$) {
 
 L<MooseX::Types>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify