projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d0e9d54
)
use SUPER::DOES (next::method breaks, but SUPER::DOES is still better than ->isa
Yuval Kogman [Sat, 28 Jun 2008 13:02:54 +0000 (13:02 +0000)]
lib/Moose/Object.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Object.pm
b/lib/Moose/Object.pm
index
e6ceebb
..
d59139c
100644
(file)
--- a/
lib/Moose/Object.pm
+++ b/
lib/Moose/Object.pm
@@
-76,7
+76,7
@@
sub DESTROY {
sub DOES {
my ( $self, $class_or_role_name ) = @_;
- $self->isa($class_or_role_name)
+ $self->SUPER::DOES($class_or_role_name)
or
$self->does($class_or_role_name);
}