From: Dave Rolsky Date: Mon, 19 Jul 2010 15:01:37 +0000 (-0500) Subject: Use newer MetaRole API X-Git-Tag: 0.05~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=faddd0f15c1461d9d184cc41741ce0a492847a9d;p=gitmo%2FMooseX-UndefTolerant.git Use newer MetaRole API --- diff --git a/lib/MooseX/UndefTolerant.pm b/lib/MooseX/UndefTolerant.pm index b801bdf..b026bc1 100644 --- a/lib/MooseX/UndefTolerant.pm +++ b/lib/MooseX/UndefTolerant.pm @@ -8,7 +8,7 @@ use MooseX::UndefTolerant::Attribute; our $VERSION = '0.04'; Moose::Exporter->setup_import_methods( - attribute_metaclass_roles => [ 'MooseX::UndefTolerant::Attribute' ] + class_metaroles => { attribute => [ 'MooseX::UndefTolerant::Attribute' ] } ); 1;