Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Using the map function

by MidLifeXis (Monsignor)
on Jul 10, 2013 at 17:33 UTC ( #1043510=note: print w/replies, xml ) Need Help??


in reply to Using the map function

map transforms data, grep selects data. Use grep.

Note: if you use @temp anywhere more than 1 or two lines away (and even then I would do this), rename it to @temperature. @temp means to me, a potential future maintenance programmer, that this is a short lived, non persistent, temporary variable.

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043510]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2017-02-22 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (325 votes). Check out past polls.