Help for this page

Select Code to Download


  1. or download this
    # This is a general-purpose daemon module.
    # Extend this class and override the run method with your own.
    ...
    
    1
    
  2. or download this
    package My::Base;
    use strict;
    ...
        return $self;
    }
    1
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    Usage : $0 stop|start|restart|status
    USAGE
    }
    
  4. or download this
    error_recipient: youremail@yourdomain.com
    email_on_die: 1
    sleep_for: 4
    
  5. or download this
    package My::Foo;
    use Moose;
    ...
       my $self = shift;
       print "Hello World (how un-original)\n";
    }
    
  6. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $foo = My::Foo->new;
    my $demon = My::Demonize->new;
    $demon->run(\$foo);