in reply to Slicing a HoAoH
It seems you want to copy the contents out before splicing in the references, so that you're referring to anonymous entries:
orsplice @{$types{TYPE1}}, 1, 1, ({%{$types{'TYPE2'}[0]}},{%{$types{'TYP +E2'}[1]}});
splice @{$types{TYPE1}}, 1, 1, map {{%$_}} @{$types{'TYPE2'}};
|
|---|