Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(tye)Re2: Why Closures?

by tye (Sage)
on Apr 26, 2001 at 21:45 UTC ( #75837=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @twice= map $doubler->($_), @list;
    my @thrice= map $tripler->($_), @list;
    
  2. or download this
    my @twice= map 2*$_, @list;
    my @thrice= map 3*$_, @list;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75837]
help
Chatterbox?
[james28909]: i see the predicament here.
[james28909]: maybe rename it to 'query'
[james28909]: but then you have the others as well
[Lady_Aleena]: Renaming things like get_THAC0 to just THAC0 was easy. These are harder.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-05-24 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?