From: Yuval Kogman Date: Fri, 15 Aug 2008 15:38:49 +0000 (+0000) Subject: pass in @_ % 2 == 1 for compat X-Git-Tag: 0_55_01~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b7fa9b6197945a8338f8be06ac4103b324fc89b6;p=gitmo%2FMoose.git pass in @_ % 2 == 1 for compat --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 0da1bd9..8cb2411 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -312,7 +312,7 @@ sub _fix_metaclass_incompatability { # at this point anyway, so it's very # much an obscure edge case anyway $self = $meta->reinitialize( - package => $self->name, + $self->name, attribute_metaclass => $meta->attribute_metaclass, method_metaclass => $meta->method_metaclass, instance_metaclass => $meta->instance_metaclass,