Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Reporting

by perrin (Chancellor)
on Apr 03, 2003 at 17:47 UTC ( [id://247824]=note: print w/replies, xml ) Need Help??


in reply to Reporting

Actually, for is exactly the same as foreach. They are synonyms. However, C-style for loops with an interator variable are slower than foreach/for looping over a list.

In general, you'll find that most of the time in most programs is spent on I/O tasks like reading the disk or talking to a database. Small differences in other areas tend to get lost in the noise.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found