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


in reply to Concerning hash operations (appending, concatenating)

Duh, just use array_merge from "Array-PAT", which I've reproduced below for your convience:
sub array_merge{ my(@array1, @array2) = @_; foreach my $element (@array2){ @array1 = (@array1, $element); }#foreach return @array1; }#array_merge