I like stevieb's post.
For more study, I recommend
the tutorial section of Perl Monks, specifically, Data Types and Variables which
talks more about references and arrays.
Also, I think that you will find that indenting loops more than one space is much, much better (stevieb did that). A normal practice is to use either 3 or 4 spaces.
In reply to Re: Array Ref Loop
by Marshall
in thread Array Ref Loop
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |