Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Problems with map(function, array)

by Redei (Initiate)
on Dec 12, 2012 at 14:06 UTC ( #1008504=note: print w/replies, xml ) Need Help??


in reply to Re: Problems with map(function, array)
in thread Problems with map(function, array)

Thank you very much. That is just what I needed. Now, instead of

sub twice { 2 * (shift // $_) }

I'll use something like

sub twice(_) { 2 * shift }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008504]
help
Chatterbox?
[oiskuu]: (obvious question) do you "use threads;" before all of this?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-07-26 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (397 votes). Check out past polls.