projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
complicated expressions can't be dereferenced directly
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Array
/
reduce.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm
b/lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm
index
8c61f93
..
9176db6
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Array/reduce.pm
@@
-38,7
+38,7
@@
sub _return_value {
my $self = shift;
my $slot_access = shift;
- return "List::Util::reduce { \$_[0]->( \$a, \$b ) } \@{ ${slot_access} }";
+ return "List::Util::reduce { \$_[0]->( \$a, \$b ) } \@{ ($slot_access) }";
}
no Moose::Role;