projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5124b71
)
Tweak for Meta::Method
gfx [Sun, 25 Oct 2009 08:43:38 +0000 (17:43 +0900)]
lib/Mouse/Meta/Method.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Meta/Method.pm
b/lib/Mouse/Meta/Method.pm
index
f800ff0
..
ebbcbf6
100755
(executable)
--- a/
lib/Mouse/Meta/Method.pm
+++ b/
lib/Mouse/Meta/Method.pm
@@
-2,7
+2,7
@@
package Mouse::Meta::Method;
use Mouse::Util qw(:meta); # enables strict and warnings
use overload
- '&{}' => 'body',
+ '&{}' => sub{ $_[0]->body },
fallback => 1,
;