go ahead... be a heretic | |
PerlMonks |
Re: difference between for and foreach?by monk2b (Pilgrim) |
on Jan 20, 2001 at 19:50 UTC ( [id://53217]=note: print w/replies, xml ) | Need Help?? |
For allows you to do something a certain number of times and Foreach allows you to do something to each value learning too
In Section
Seekers of Perl Wisdom
|
|