X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FCheckedUtilExports.pm;h=78959d625ae683296e1c65dce8c9b747d1260e30;hb=6a1db9c7c89f006f6231aa64a9629dd1de7c5a15;hp=caa27ffe19a32bf4d1152e7c0faeff286453ea46;hpb=ca9d7442ae7d1b9268a668d7103e0c9d7aef1dde;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types/CheckedUtilExports.pm b/lib/MooseX/Types/CheckedUtilExports.pm index caa27ff..78959d6 100644 --- a/lib/MooseX/Types/CheckedUtilExports.pm +++ b/lib/MooseX/Types/CheckedUtilExports.pm @@ -6,6 +6,7 @@ safer for L =cut package MooseX::Types::CheckedUtilExports; +our $VERSION = "0.26"; use strict; use warnings; @@ -45,10 +46,6 @@ From L. 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 +64,10 @@ for my $export (@exports) { } } +Moose::Exporter->setup_import_methods( + with_caller => [ @exports, 'class_type', 'role_type' ] +); + sub class_type { my $caller = shift; @@ -87,6 +88,10 @@ sub role_type ($;$) { L +=head1 AUTHOR + +See L. + =head1 LICENSE This program is free software; you can redistribute it and/or modify