http://www.perlmonks.org?node_id=11104864


in reply to Insert into element into arrays ref

No need to futz around with map. Just push the contents of @{$data2} onto @{$data1}.

The cake is a lie.
The cake is a lie.
The cake is a lie.