projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c2310a3
)
no get_method_map in get_method_list
gfx [Sun, 12 Jul 2009 03:55:08 +0000 (12:55 +0900)]
lib/Class/MOP/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
0530739
..
d61c758
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-785,7
+785,7
@@
sub remove_method {
sub get_method_list {
my $self = shift;
- keys %{$self->get_method_map};
+ return grep { $self->has_method($_) } keys %{ $self->namespace };
}
sub find_method_by_name {