Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Near-free function currying in Perl

by fergal (Chaplain)
on Nov 17, 2004 at 12:22 UTC ( [id://408374]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # deep inside the framework
    &$logger("frobnication successful");
    
  2. or download this
    # deep inside the framework
    &$logger($LOGHANDLE, "frobnication successful");
    
  3. or download this
    my $logger = sub {
      my $msg = shift;
      log_to_handle($MYHANDLE, $msg);
    };
    
  4. or download this
    my $logger = log_to_handle_c($MYHANDLE);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-19 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found