in reply to Re^3: Interview Prepration
in thread Interview Prepration
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
Be sure to read my standard disclaimer if this is a reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Interview Prepration
by demerphq (Chancellor) on Apr 05, 2005 at 17:03 UTC | |
by merlyn (Sage) on Apr 05, 2005 at 17:37 UTC | |
by Limbic~Region (Chancellor) on Apr 05, 2005 at 18:20 UTC | |
by adrianh (Chancellor) on Apr 06, 2005 at 08:52 UTC |
In Section
Seekers of Perl Wisdom