|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Re: Re: Re: When would you choose foreach instead of map?by BrowserUk (Patriarch) |
| on May 21, 2004 at 12:59 UTC ( [id://355348]=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.
As always, don't take my word for it, do your own test. All the (two lines) of the (two lines) of the code is there. The only instrumentation required is a <STDIN>; to prevent the processes from exiting and top/task manager. Is this the "'side effect' thingy"? I guess you could classify it that way:) Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"Think for yourself!" - Abigail
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||