in reply to references--hard vs anonymous operational weirdness
When you have \@array you create a reference to an array. Every time through the loop it is a reference to the same array. On the other hand [@array] is an anonymous array constructor that does a shallow copy of @array and creates a reference to the new copy.
In Section
Seekers of Perl Wisdom