projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
aba0f13
)
Correct 'does' method
gfx [Mon, 8 Feb 2010 04:39:40 +0000 (13:39 +0900)]
lib/Mouse/Util.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Util.pm
b/lib/Mouse/Util.pm
index
3ffa375
..
4908863
100644
(file)
--- a/
lib/Mouse/Util.pm
+++ b/
lib/Mouse/Util.pm
@@
-350,8
+350,9
@@
sub dump :method {
}
# general does() method
-sub does :method;
-*does = \&does_role; # alias
+sub does :method {
+ goto &does_role;
+}
1;
__END__