in reply to Re^7: Interview Prepration
in thread Interview Prepration
Can we both agree on this:No, only if you change that to "many languages, including Perl".In Perl, the keywords "for" and "foreach" are identical. In many other languages, the two words stand for two different kinds of loops
perlsyn has a heading called "for loops", and a heading called "foreach loops". I'm going to quote that as an authority, as it was written by the only authority who really matters. Therefore, Perl has for loops, and foreach loops, and overlapping keywords. "for" and "foreach" are not the same in that sentence.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Interview Prepration
by jZed (Prior) on Apr 04, 2005 at 18:51 UTC | |
by Anonymous Monk on Apr 05, 2005 at 08:51 UTC | |
by RazorbladeBidet (Friar) on Apr 05, 2005 at 12:46 UTC | |
by gellyfish (Monsignor) on Apr 05, 2005 at 13:05 UTC |