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);