# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130870]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=130870 >
Code:
my %h1 = <1 a 2 b>;
my %h2 = <3 c 4 d>;
my %h3 = <5 e 6 f>;
%h2 = %h1, %h2, %h3;
say %h2
Result:
{1 => a, 2 => b, 5 => e, 6 => f}
Notice that it has everything except for elements of %h2.
If this behavior is correct, then it should throw a warning. But I'd argue that
it should work exactly the same way as if it was an assignment to a different
hash.