Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Functional Programming & method rewriting

by SpanishInquisition (Pilgrim)
on Oct 28, 2004 at 22:36 UTC ( #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? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2023-09-21 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?