http://qs321.pair.com?node_id=1230835


in reply to Join 2 arrays horizontally

Just for fun: a solution that is probably wasteful and I am not even sure it will always work (as a minimum both arrays have to be of the same length).

splice @array1, @array2, 0, pop @array2 while @array2;