Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: map versus for

by philipbailey (Curate)
on Aug 04, 2008 at 14:52 UTC ( [id://702075]=note: print w/replies, xml ) Need Help??


in reply to map versus for

I don't have Perl Best Practices in front of me, but I suspect the point that Damian Conway is making is that "map" is more idiomatic, in Perl, than a "for" loop, and not necessarily that it is more performant.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found