laziness, impatience, and hubris | |
PerlMonks |
Re^3: for loop syntax differenceby toolic (Bishop) |
on Aug 28, 2009 at 14:09 UTC ( [id://791915]=note: print w/replies, xml ) | Need Help?? |
Also from the official Perl documentation (For Loops):
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
|
|