go ahead... be a heretic | |
PerlMonks |
for != foreachby Util (Priest) |
on Jun 18, 2002 at 03:14 UTC ( [id://175256]=note: print w/replies, xml ) | Need Help?? |
Yes, but the first two are completely different from the last two. We have to call these control structures *something*. When talking about them, we call the first two "foreach loops", and the last two "for loops", regardless of which keyword is used. perlsyn follows this convention in its =head2 headers, and arunhorne is using it in his question.
In Section
Seekers of Perl Wisdom
|
|