Perl: the Markov chain saw | |
PerlMonks |
Re^4: Interview Preprationby merlyn (Sage) |
on Apr 04, 2005 at 18:04 UTC ( [id://444748]=note: 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 Section
Seekers of Perl Wisdom
|
|