projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
004a0cc
)
Fix potential value for set
Dave Rolsky [Sat, 25 Sep 2010 19:43:54 +0000 (14:43 -0500)]
lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm
b/lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm
index
39a8035
..
97717cf
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Hash/set.pm
@@
-47,7
+47,7
@@
sub _adds_members { 1 }
sub _potential_value {
my ( $self, $slot_access ) = @_;
- return "%{ $slot_access, @_ }";
+ return "%{ $slot_access, \@_ }";
}
sub _new_members { '@_[ @values_idx ]' }