Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-06-25 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.