X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FMethod%2FAccessor%2FNative%2FHash%2FWriter.pm;h=2602d9a3ea962d0e066bf68153e92a3dd74d481b;hb=245478d5ee6b5343e4d591be811582963e177bef;hp=ea39c58bc9ec2d26e52a7dc37c3788811320f988;hpb=f4b86ac0e1fd7ff8a180f2f8332821170db5371e;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm b/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm index ea39c58..2602d9a 100644 --- a/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm +++ b/lib/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm @@ -5,7 +5,7 @@ use warnings; use Class::MOP::MiniTrait; -our $VERSION = '1.16'; +our $VERSION = '1.19'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; @@ -20,7 +20,7 @@ sub _new_values {'@values'} sub _inline_copy_old_value { my ( $self, $slot_access ) = @_; - return '{ %{' . $slot_access . '} }'; + return '{ %{(' . $slot_access . ')} }'; } no Moose::Role;