in reply to return of hash-assigment in list context (bug?)
I get the results that I would expect, with no duplicated values:This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linu +x-gnu-thread-multi-64int
$ perl %h1=(a=>1,b=>2); %h2=(a=>11,c=>3); print (%h3=(%h1,%h2),"\n"); print %h3, "\n"; a11b2c3 c3a11b2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: return of assigment in list context (bug!)
by LanX (Saint) on Jan 02, 2013 at 14:06 UTC | |
by tobyink (Canon) on Jan 02, 2013 at 15:09 UTC | |
by LanX (Saint) on Jan 02, 2013 at 16:24 UTC | |
|
Re^2: return of assigment in list context (bug?)
by perl514 (Pilgrim) on Jan 02, 2013 at 18:24 UTC |