Re: Array References - Concatenation

2001-11-15 Thread Andrea Holstein
Andrea Holstein wrote: > > TMTOWTDI: > > @joined_array = map { [ @$array1[$_], @$array2[$_] ] } (0..$#array1); > Please excuse my little bugs: I wrote a little script that helps to understand: Hallo! use strict; my $array1 = [ [11,12], [21,22

Re: Array References - Concatenation

2001-11-15 Thread Andrea Holstein
[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 = [

RE: Array References - Concatenation

2001-11-14 Thread Bob Showalter
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 2:21 PM > To: [EMAIL PROTECTED] > Subject: Array References - Concatenation > > > Friends, > > I have two, two-dimensional array references, and

RE: Array References - Concatenation

2001-11-14 Thread Gibbs Tanton - tgibbs
I guess you could do for (0..$#{ $array1 }) { push( @{ $array1->[$_] }, @{ $array2->[$_] } ); } I'm not sure if that is any clearer or not. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 11/14/2001 1:21 PM Subject: Array References - Concatenation

Array References - Concatenation

2001-11-14 Thread RArul
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],