Re: Concatenating arrays from arrays of arrays

2008-03-15 Thread John W. Krahn
John Sampson wrote: Hello - Hello, I am trying to accumulate items in a flat list (array) by concatenating on to it the scalars contained in arrays which in turn are contained in arrays. The data is to be read in from a file rather than existing as literals in my code. Everything I try eithe

Re: Concatenating arrays from arrays of arrays

2008-03-15 Thread Rob Dixon
John Sampson wrote: Hello - I am trying to accumulate items in a flat list (array) by concatenating on to it the scalars contained in arrays which in turn are contained in arrays. The data is to be read in from a file rather than existing as literals in my code. Everything I try either crashes

Re: Concatenating arrays from arrays of arrays

2008-03-15 Thread Gunnar Hjalmarsson
John Sampson wrote: I am trying to accumulate items in a flat list (array) by concatenating on to it the scalars contained in arrays which in turn are contained in arrays. Is this what you are talking about? my @arr1 = ( [ 1, 2 ], [ 3, 4 ] ); my @arr2 = ( [ 5, 6 ], [ 7, 8 ] ); my

Re: Concatenating arrays from arrays of arrays

2008-03-15 Thread Chas. Owens
On Sat, Mar 15, 2008 at 6:14 PM, John Sampson <[EMAIL PROTECTED]> wrote: > Hello - > > I am trying to accumulate items in a flat list (array) by > concatenating on to it > the scalars contained in arrays which in turn are contained in arrays. The > data > is to be read in from a file rather th