|
|
| 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.
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
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||