[EMAIL PROTECTED] wrote: > > Friends, > > I have two, two-dimensional array references, and I need to join the rows of > each array. > > $array1 = [ > [11,12], > [21,22], > [31,32] > ]; > and > $array2 = [ > [18,19], > [28,29], > [38,39] > ]; > > I need to have the output as this: > > 11 12 18 19 > 21 22 28 29 > 31 32 38 39 > TMTOWTDI:
@joined_array = map { [ @$array1[$_], @$array2[$_] ] } (0..$#array1); Greetings, Andrea -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]