Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: for loop syntax difference

by toolic (Bishop)
on Aug 28, 2009 at 14:09 UTC ( [id://791915]=note: print w/replies, xml ) Need Help??


in reply to Re^2: for loop syntax difference
in thread for loop syntax difference

Also from the official Perl documentation (For Loops):
The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-04-24 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found