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


in reply to difference between for and foreach?

For allows you to do something a certain number of times
and
Foreach allows you to do something to each value
learning too