|
|
| Just another Perl shrine | |
| PerlMonks |
Re: RE: Map: The Basicsby swiftone (Curate) |
| on Jan 11, 2001 at 21:22 UTC ( [id://51232]=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.
This way of doing things is deliberate, as it eliminates unnecessary assignments when you want the results to go back to the same array. Except that he explicitly said that if you aren't using the list returned, you shouldn't use map, you should look into another looping structure, such as: To do otherwise obfuscates the purpose of your loop.
In Section
Tutorials
|
|
||||||||||||||||||||||||