Help for this page

Select Code to Download


  1. or download this
    sub daemonize {
        action()
    ...
    
    eval { demonize() }
        or print("error: $@");
    
  2. or download this
    # A global could also be used instead of an attribute.
    
    ...
    
    $o->demonize()
        or print("error: " . $o->get_error());