Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Yes, and yes. Spelled "f-o-r", pronounced "foreach". Spelled "f-o-r-e-a-c-h", pronounced "for".
If you start handwaving "for and foreach are the same" in front of people enough, they wonder why the variable "didn't localize in my for loop... I thought for did that!". It really is important to distinguish the two kinds of loops, even though 90% of the time we write "for", we prounounce it "foreach". -- Randal L. Schwartz, Perl hacker
In reply to Re^4: Interview Prepration
by merlyn
|
|