[Moose-commits] r7557 - Mouse/trunk/lib/Mouse/Meta

sartak at code2.0beta.co.uk sartak at code2.0beta.co.uk
Thu Feb 5 16:33:26 GMT 2009


Author: sartak
Date: 2009-02-05 08:33:25 -0800 (Thu, 05 Feb 2009)
New Revision: 7557

Modified:
   Mouse/trunk/lib/Mouse/Meta/Class.pm
Log:
Need to ignore override and super in the method list

Modified: Mouse/trunk/lib/Mouse/Meta/Class.pm
===================================================================
--- Mouse/trunk/lib/Mouse/Meta/Class.pm	2009-02-05 16:31:39 UTC (rev 7556)
+++ Mouse/trunk/lib/Mouse/Meta/Class.pm	2009-02-05 16:33:25 UTC (rev 7557)
@@ -76,7 +76,7 @@
     no strict 'refs';
     # Get all the CODE symbol table entries
     my @functions =
-      grep !/^(?:has|with|around|before|after|blessed|extends|confess)$/,
+      grep !/^(?:has|with|around|before|after|blessed|extends|confess|override|super)$/,
       grep { defined &{"${name}::$_"} }
       keys %{"${name}::"};
     push @functions, keys %{$self->{'methods'}->{$name}};




More information about the Moose-commits mailing list