Don't turn hash into array when copying the old hash value
[gitmo/Moose.git] / lib / Moose / Meta / Method / Accessor / Native / Hash / Writer.pm
index f9d808b..c6828e6 100644 (file)
@@ -23,7 +23,7 @@ sub _new_values {'@values'}
 sub _inline_copy_old_value {
     my ( $self, $slot_access ) = @_;
 
-    return '{ @{' . $slot_access . '} }';
+    return '{ %{' . $slot_access . '} }';
 }
 
 1;