Fix another keyword regex
Shawn M Moore [Wed, 1 Apr 2009 03:11:33 +0000 (23:11 -0400)]
lib/Mouse/Meta/Role.pm

index 13a27d8..6c5d32f 100644 (file)
@@ -64,7 +64,7 @@ sub get_method_list {
     no strict 'refs';
     # Get all the CODE symbol table entries
     my @functions =
-      grep !/^(?:has|with|around|before|after|blessed|extends|confess|excludes|meta|requires)$/,
+      grep !/^(?:has|with|around|before|after|augment|inner|override|super|blessed|extends|confess|excludes|meta|requires)$/,
       grep { defined &{"${name}::$_"} }
       keys %{"${name}::"};
     wantarray ? @functions : \@functions;