Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Welcome to the Monastery
 
PerlMonks  

Re: Re: When would you choose foreach instead of map?

by eric256 (Parson)
on May 21, 2004 at 11:02 UTC ( [id://355291]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: When would you choose foreach instead of map?
in thread When would you choose foreach instead of map?

Thanks for the info on for as a modifier. I thought it was just kinda a shortcut and that the compiler produced a normal for block out of it. Good info and i'm sure we all new that an equation to calculate the total would be better/faster/smarter. We weren't benchmarking the math just the means of looping.

___________
Eric Hodges
  • Comment on Re: Re: When would you choose foreach instead of map?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://355291]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.