in reply to Re: Difference between for and foreach
in thread Difference between for and foreach
What about this bit then?
And it's faster because Perl executes a foreach statement more rapidly than it would the equivalent for loop.
In Section
Seekers of Perl Wisdom