Hi
I think this quite simple to do but i am quite new to perl and finding it hard to get my head around how to do this. I think I need to use a foreach function but am not entirely sure.
I have two arrays, each with a column of numbers, I want to combine the two arrays so that I have one array with both columns side by side. I have tried concatenating the arrays but this adds the columns underneath each other as a continuous array of numbers. I would prefer the columns to be side by side in the array.
Any help would be greatly appreciated
Thanks
I think this quite simple to do but i am quite new to perl and finding it hard to get my head around how to do this. I think I need to use a foreach function but am not entirely sure.
I have two arrays, each with a column of numbers, I want to combine the two arrays so that I have one array with both columns side by side. I have tried concatenating the arrays but this adds the columns underneath each other as a continuous array of numbers. I would prefer the columns to be side by side in the array.
Any help would be greatly appreciated
Thanks