The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::Framework::Daemon - Daemonize an application

SYNOPSIS

  use App::Framework '::Daemon' ;

DESCRIPTION

App::Framework personality that provides a daemonized program (using Net::Server::Daemonize)

DOCUMENTATION TO BE COMPLETED

BETA CODE ONLY - NOT TO BE USED IN PRODUCTION SCRIPTS

FIELDS

None

CONSTRUCTOR METHODS

new([%args])

Create a new App::Framework::Daemon.

The %args are specified as they would be in the set method, for example:

        'mmap_handler' => $mmap_handler

The full list of possible arguments are :

        'fields'        => Either ARRAY list of valid field names, or HASH of field names with default values 

CLASS METHODS

init_class([%args])

Initialises the object class variables.

OBJECT METHODS

daemon_run()

Daemonize then run the application's app subroutine inside a loop.

DIAGNOSTICS

Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.

AUTHOR

Steve Price <sdprice at cpan.org>

BUGS

None that I know of!