Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Near-free function currying in Perl

by fergal (Chaplain)
on Nov 17, 2004 at 12:22 UTC ( #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
Node Status?
node history
Node Type: note [id://408374]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2020-11-24 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?