Catalyst::Engine::SCGI - SCGI Engine
This is the SCGI engine.
This class overloads some methods from Catalyst::Engine::CGI.
Catalyst::Engine::CGI
Start the SCGI server. If $port is not set default to port 9000. If $detach is set, server will go into the background.
Write finalized headers to socket
Write directly to socket
Read Body content to $_[3]'s set length and direct output to $_[2].
Performs the first part of daemon initialisation. Specifically, forking. STDERR, etc are still connected to a terminal.
Performs the second part of daemon initialisation. Specifically, disassociates from the terminal.
However, this does not change the current working directory to "/", as normal daemons do. It also does not close all open file descriptors (except STDIN, STDOUT and STDERR, which are re-opened from /dev/null).
To install Catalyst::Engine::SCGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Engine::SCGI
CPAN shell
perl -MCPAN -e shell install Catalyst::Engine::SCGI
For more information on module installation, please visit the detailed CPAN module installation guide.