From: Stevan Little Date: Mon, 10 Mar 2008 14:56:07 +0000 (+0000) Subject: fuckingyuval X-Git-Tag: 0.18_01~45 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37cd0795a780d02aed60ff37bf5468626bc151f1;p=gitmo%2FMooseX-AttributeHelpers.git fuckingyuval --- diff --git a/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm b/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm index a477786..ebe22aa 100644 --- a/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm +++ b/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm @@ -43,7 +43,7 @@ sub set : method { push @values, shift @kvp; } - @{ $reader->($_[0]) }{@keys} = {@values}; + @{ $reader->($_[0]) }{@keys} = @values; } }; }