copy 3D array to 2D array

2009-02-10 Thread Rob Canning
hi, i am trying to copy a three dimensional array to a two dimentional one this: @AoA = ( [2, 3], [4, 5, 7], [0] ); to this @A = qw(2 3 4 5 7 0); i know the answer is staring at me in perldoc perldsc but i cant see it! thanks rob -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org F

Re: copy 3D array to 2D array

2009-02-10 Thread Chas. Owens
On Tue, Feb 10, 2009 at 11:13, Rob Canning wrote: > hi, > > i am trying to copy a three dimensional array to a two dimentional one > > this: > > @AoA = ( [2, 3], [4, 5, 7], [0] ); > > to this > > @A = qw(2 3 4 5 7 0); > > i know the answer is staring at me in perldoc perldsc but i cant see it! sni