Revision history for Mouse
0.16
+ * Implement get_all_method_names
0.15 Thu Feb 5 11:44:05 2009
* Don't export Mouse's sugar into the package 'main'
$get_methods_for_class->($self, $self->name);
}
+sub get_all_method_names {
+ my $self = shift;
+ my %uniq;
+ return grep { $uniq{$_}++ == 0 }
+ map { $get_methods_for_class->(undef, $_) }
+ $self->linearized_isa;
+}
+
sub add_attribute {
my $self = shift;
my $attr = shift;