From: Shawn M Moore Date: Sun, 18 Jan 2009 02:04:13 +0000 (+0000) Subject: Use the parameter metaclass X-Git-Tag: 0.05~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d743bd2d1c0e30f27bc07f24866e6a0a317f2188;p=gitmo%2FMooseX-Role-Parameterized.git Use the parameter metaclass --- diff --git a/lib/MooseX/Role/Parameterized/Parameters.pm b/lib/MooseX/Role/Parameterized/Parameters.pm index 5846e38..0361d04 100644 --- a/lib/MooseX/Role/Parameterized/Parameters.pm +++ b/lib/MooseX/Role/Parameterized/Parameters.pm @@ -1,4 +1,8 @@ package MooseX::Role::Parameterized::Parameters; +# XXX: Mister Wizard, what's the right way to declare a different attribute metaclass? +use metaclass 'Moose::Meta::Class' => ( + attribute_metaclass => 'MooseX::Role::Parameterized::Meta::Parameter', +); use Moose; __PACKAGE__->meta->make_immutable;