summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-07-18 23:40:53 -0500
committerJesse Luehrs <doy@tozt.net>2010-07-18 23:40:53 -0500
commita3e26dde41a77e8e65360cf6a3484bb1689c3739 (patch)
treeff9d4afc87c747d8543b22cb6cadcc2d286b516b
parent9a04aaf886752b3a069df0f4a2d7496e7541d340 (diff)
downloadmoosex-nonmoose-a3e26dde41a77e8e65360cf6a3484bb1689c3739.tar.gz
moosex-nonmoose-a3e26dde41a77e8e65360cf6a3484bb1689c3739.zip
also avoid warnings in ::InsideOut0.13
-rw-r--r--Changes1
-rw-r--r--lib/MooseX/NonMoose/InsideOut.pm10
2 files changed, 7 insertions, 4 deletions
diff --git a/Changes b/Changes
index 9a0e788..e79bfa3 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for MooseX-NonMoose
{{$NEXT}}
+ - Also avoid warnings in MooseX::NonMoose::InsideOut.
0.12 2010-07-18
- Avoid warnings from Moose 1.09 (Dave Rolsky).
diff --git a/lib/MooseX/NonMoose/InsideOut.pm b/lib/MooseX/NonMoose/InsideOut.pm
index d1067f9..1a8ac4a 100644
--- a/lib/MooseX/NonMoose/InsideOut.pm
+++ b/lib/MooseX/NonMoose/InsideOut.pm
@@ -34,10 +34,12 @@ use Moose::Exporter;
=cut
my ($import, $unimport, $init_meta) = Moose::Exporter->build_import_methods(
- metaclass_roles => ['MooseX::NonMoose::Meta::Role::Class'],
- constructor_class_roles => ['MooseX::NonMoose::Meta::Role::Constructor'],
- instance_metaclass_roles => ['MooseX::InsideOut::Role::Meta::Instance'],
- install => [qw(import unimport)],
+ class_metaroles => {
+ class => ['MooseX::NonMoose::Meta::Role::Class'],
+ constructor => ['MooseX::NonMoose::Meta::Role::Constructor'],
+ instance => ['MooseX::InsideOut::Role::Meta::Instance'],
+ },
+ install => [qw(import unimport)],
);
sub init_meta {