On Thu, Apr 2, 2009 at 01:54, Chap Harrison <c...@pobox.com> wrote: snip > I was getting tangled up with the complexities of addressing the various > things inside the "table". snip
Yeah, if I try to think about AoA[1]s as a table I inevitably screw it up. The fact that the row index comes before column index always screws me up[2]. I find it easier to think of an AoA as an array of rows rather than a multidimensional array. This form of thinking is what makes the expression natural: I am performing an operation on every row (map) and then joining the results. 1. http://perldoc.perl.org/perldsc.html#ARRAYS-OF-ARRAYS 2. I am used to thinking in (x, y) coordinates not (y, x) -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/