in reply to Re: Style and Preference on Loopsin thread Style and Preference on Loops
Perl 5.12 added the capability for each to return the index and value of an array in list context.