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

Re^2: Functional Programming & method rewriting

by SpanishInquisition (Pilgrim)
on Oct 28, 2004 at 22:36 UTC ( [id://403538]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $hi_mom = prefix_later(
       sub { my $f = shift(); print "got: $f\n"; },
    ...
    );
    
    $hi_mom->("nerp") for (1..3);
    
  2. or download this
    got: nerp
    this was unneccessary:
    got: nerp
    this was unneccessary:
    got: nerp
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found