Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^9: Interview Prepration

by jZed (Prior)
on Apr 04, 2005 at 18:51 UTC ( [id://444763]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Interview Prepration
in thread Interview Prepration

Ok, how about:

In Perl, the keywords "for" and "foreach" are identical. In many other languages the two keywords refer to two different loop structures. Perl supports both loop structures, but allows the use of either keyword for either structure.

Replies are listed 'Best First'.
Re^10: Interview Prepration
by Anonymous Monk on Apr 05, 2005 at 08:51 UTC
    Many other languages? Could you name a few that actually have the keywords 'for' and 'foreach', and refer to two different loop structures?
      ferite
      C#
      TCL
      PHP

      Not sure how different they are... I'm just being argumentative of course :)
      --------------
      "But what of all those sweet words you spoke in private?"
      "Oh that's just what we call pillow talk, baby, that's all."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://444763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-18 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found