in reply to Array Ref Loop

A few comments:

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.