If I have an array @x, that I have, say, initialized up to $x[5][11], is there some way of looping over the rows (and then the columns within each row) without setting up the classic for loops with counters such as $i and $j? I read somewhere that if you are using counters in perl, you are not doing it right, so I am wondering about other syntax (foreach?) that might do that.
In reply to looping over multidimensional arrays by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |