From: Shawn M Moore Date: Sun, 9 Nov 2008 04:38:05 +0000 (+0000) Subject: Actually, don't even pass $self until I can think of a good hash key :) X-Git-Tag: 0.05~101 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=856770d0bac9d8bc414b37a291e39de4dbd59c47;p=gitmo%2FMooseX-Role-Parameterized.git Actually, don't even pass $self until I can think of a good hash key :) --- diff --git a/lib/MooseX/Role/Parameterized/Meta/Role.pm b/lib/MooseX/Role/Parameterized/Meta/Role.pm index d98610e..0aa0f21 100644 --- a/lib/MooseX/Role/Parameterized/Meta/Role.pm +++ b/lib/MooseX/Role/Parameterized/Meta/Role.pm @@ -47,8 +47,7 @@ sub generate_role { local $MooseX::Role::Parameterized::CURRENT_METACLASS = $metaclass; $self->role_generator->($parameters, - operating_on => $metaclass, - parameterized_role => $self, + operating_on => $metaclass, ); my $role = $metaclass->construct_instance;