projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't turn hash into array when copying the old hash value
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Hash
/
Writer.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm
b/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm
index
f9d808b
..
c6828e6
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm
@@
-23,7
+23,7
@@
sub _new_values {'@values'}
sub _inline_copy_old_value {
my ( $self, $slot_access ) = @_;
- return '{ @{' . $slot_access . '} }';
+ return '{ %{' . $slot_access . '} }';
}
1;