Help for this page

Select Code to Download


  1. or download this
    
    my $log_method = sub {
    ...
          $logger->log($DBG_MAP->{$level},$msg);
    };
    
  2. or download this
    my $cron = new Schedule::Cron(\&dispatcher,
                                    nofork => 1,
    ...
                      'arguments' => [ "INFO", "a test" ],
                      }
                    );