projects
/
gitmo/Perl-Critic-Dynamic-Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Switch to Sub::Exporter, use meta_type in PPB
[gitmo/Perl-Critic-Dynamic-Moose.git]
/
lib
/
Perl
/
Critic
/
Util
/
Moose.pm
diff --git
a/lib/Perl/Critic/Util/Moose.pm
b/lib/Perl/Critic/Util/Moose.pm
index
f65520b
..
751d01f
100644
(file)
--- a/
lib/Perl/Critic/Util/Moose.pm
+++ b/
lib/Perl/Critic/Util/Moose.pm
@@
-1,9
+1,9
@@
package Perl::Critic::Util::Moose;
use strict;
use warnings;
-use base 'Exporter';
-
-our @EXPORTS_OK = 'meta_type';
+use Sub::Exporter -setup => {
+ exports => ['meta_type'],
+};
my @types = (
[ 'Moose::Meta::Role' => 'role' ],