in reply to Concatenate anonymous hash ref
foreach my $key (keys %$temp) { $x->{$key} = $temp->{$key}; } [download]
@$x{keys %$temp} = values %$temp; [download]