I want to take certain columns from @ary1 and @ary2 and add them to the @master array. I can do this easily if I added as rows but I want to add as columns. What is a generic method for doing this? The columns need to be added one at a time.
@ary1 = (
@ary2 = (
# After adding columns 0 and 1 from @ary1 and column 1 from @ary2, this should be the result.
# We'll go ahead and assume that the number of rows of @ary1 and @ary2 are the same.
@master = (