Permalink
Browse files

also avoid warnings in ::InsideOut

  • Loading branch information...
1 parent 9a04aaf commit a3e26dde41a77e8e65360cf6a3484bb1689c3739 @doy committed Jul 19, 2010
Showing with 7 additions and 4 deletions.
  1. +1 −0 Changes
  2. +6 −4 lib/MooseX/NonMoose/InsideOut.pm
View
@@ -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).
@@ -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 {

0 comments on commit a3e26dd

Please sign in to comment.