From: Stevan Little Date: Sun, 18 May 2008 23:46:40 +0000 (+0000) Subject: Class::MOP::Method and co. are now stricter and require the package_name and name... X-Git-Tag: 0_64~57 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d32deaf0386ff584176c02cf20d325462a5b319;p=gitmo%2FClass-MOP.git Class::MOP::Method and co. are now stricter and require the package_name and name attributes (cont) --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index fa811f4..8808cf3 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -324,8 +324,6 @@ sub get_method_map { next if ($pkg || '') ne $class_name || (($name || '') ne '__ANON__' && ($pkg || '') ne $class_name); - #warn "Checking $pkg against $class_name && $name against __ANON__"; - $map->{$symbol} = $method_metaclass->wrap( $code, package_name => $class_name,