Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Risks of equivalence between FOR and FOREACHby imp (Priest) |
on Oct 31, 2006 at 21:55 UTC ( [id://581578]=note: print w/replies, xml ) | Need Help?? |
From the perlsyn documentation:
The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity.
In Section
Seekers of Perl Wisdom
|
|