http://www.perlmonks.org?node_id=27085


in reply to (jeffa) Re: Of foreach loops and counting
in thread Of foreach loops and counting

for is a synonym of foreach. you make the decision on which one to use based on readabilty, since both behave exactly the same.
--eric