projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ee0db4b
)
Encapsulation
大沢 和宏 [Fri, 5 Dec 2008 17:14:40 +0000 (17:14 +0000)]
lib/Mouse/Meta/Attribute.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Meta/Attribute.pm
b/lib/Mouse/Meta/Attribute.pm
index
9f68070
..
97cd5c0
100644
(file)
--- a/
lib/Mouse/Meta/Attribute.pm
+++ b/
lib/Mouse/Meta/Attribute.pm
@@
-184,7
+184,7
@@
sub generate_handles {
my $method = 'sub {
my $self = shift;
- $self->$reader->$remote_method(@_)
+ $self->'.$reader.'->'.$remote_method.'(@_)
}';
$method_map{$local_method} = eval $method;