Class::MOP::Method and co. are now stricter and require the package_name and name...
Stevan Little [Sun, 18 May 2008 23:46:40 +0000 (23:46 +0000)]
lib/Class/MOP/Class.pm

index fa811f4..8808cf3 100644 (file)
@@ -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,