|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^8: Interview Preprationby RazorbladeBidet (Friar) |
| on Apr 04, 2005 at 14:38 UTC ( [id://444757]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
(Downvoted because):
It's not meaningless when the perldocs refer to For Loops and Foreach Loops. They also mention that The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity. (Or because the Bourne shell is more familiar to you than csh, so writing for comes more naturally.)So the correct response to : "What is the difference between for and foreach?" is "The keywords or the loop structures?" It's an English problem.
-------------- "But what of all those sweet words you spoke in private?" "Oh that's just what we call pillow talk, baby, that's all."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||