is there an easy way (without iterating through the array) to get a
specified column out of a 2d array?

lets say i have

@array2d

1 2 3 4
5 6 7 8

what i am looking for is something like

@my2ndcolum = // magic //


i know you can get it with rows using ( $my2ndrowref = @array[1] ) but
i don't want to transpose all my data right now for this.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to