in reply to map into a multidimensional hash
$hash{ delete $_->{id_1} }{ delete $_->{id_2} } = $_ for @ary_of_hrefs ;
Untested, but most code was copied from marioroy's post :)
Personally I try to avoid map statements in void context
For clarity I strongly recommend commenting this with a sample of the data before and after.
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
°) Sorry Eily did, tldr my apologies :)
|
|---|