[Moose-commits] r7281 - Class-MOP/trunk/lib/Class/MOP

autarch at code2.0beta.co.uk autarch at code2.0beta.co.uk
Sun Jan 11 11:20:03 GMT 2009


Author: autarch
Date: 2009-01-11 03:20:02 -0800 (Sun, 11 Jan 2009)
New Revision: 7281

Modified:
   Class-MOP/trunk/lib/Class/MOP/Class.pm
Log:
Remove commented-out bit of code


Modified: Class-MOP/trunk/lib/Class/MOP/Class.pm
===================================================================
--- Class-MOP/trunk/lib/Class/MOP/Class.pm	2009-01-11 05:09:20 UTC (rev 7280)
+++ Class-MOP/trunk/lib/Class/MOP/Class.pm	2009-01-11 11:20:02 UTC (rev 7281)
@@ -744,12 +744,6 @@
     (defined $method_name && $method_name)
         || confess "You must define a method name";
 
-    # NOTE:
-    # I don't really need this here, because
-    # if the method_map is missing a key it
-    # will just return undef for me now
-    # return unless $self->has_method($method_name);
-
     return $self->{methods}{$method_name} || $self->get_method_map->{$method_name};
 }
 




More information about the Moose-commits mailing list