in reply to Re: map into a multidimensional hash
in thread map into a multidimensional hash

>   DiveVal(\%hash, @$_{qw{ id_1 id_2 }}) = $_->{v} for @aoh;

Well you are not deleting the ids from the $_ hash and assigning the value instead of $_.

I'm also not sure why the hash slice works, most probably fresh syntax, I'd probably prefer listing the two values explicitly.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!