$hash{ delete $_->{id_1} }{ delete $_->{id_2} } = $_ for @ary_of_hrefs ;