http://www.perlmonks.org?node_id=1011276


in reply to return of hash-assigment in list context (bug?)

What version of perl are you using? With my
This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linu +x-gnu-thread-multi-64int
I get the results that I would expect, with no duplicated values:
$ perl %h1=(a=>1,b=>2); %h2=(a=>11,c=>3); print (%h3=(%h1,%h2),"\n"); print %h3, "\n"; a11b2c3 c3a11b2