Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: [Solved] How does map work?

by LanX (Saint)
on Oct 26, 2013 at 21:54 UTC ( [id://1059849]=note: print w/replies, xml ) Need Help??


in reply to Re: [Solved] How does map work?
in thread [Solved] How does map work?

may I ask, why you pass $_ as argument?

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: [Solved] How does map work?
by Laurent_R (Canon) on Oct 26, 2013 at 22:45 UTC

    Well, yes, you are right, this is not needed. But this was an example for a tutorial, I wanted it to be explicit to explain clearly what is going on. Thank you for your remark, I need to add at least one example without $_ in my tutorial.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found