HTTP::Engine::Interface::FCGI - FastCGI interface for HTTP::Engine
#!/usr/bin/perl use HTTP::Engine; HTTP::Engine->new( interface => { module => 'FCGI', args => { }, request_handler => 'main::handle_request',# or CODE ref }, )->run(); sub handle_request { HTTP::Engine::Response->new( body => 'hello, world!' ); }
send STDERR to stdout (a logfile)
Pathname of socket or colon followed by local tcp port.
Tokuhiro Matsuno
many codes copied from Catalyst::Engine::FastCGI. thanks authors of C::E::FastCGI!
To install HTTP::Engine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Engine
CPAN shell
perl -MCPAN -e shell install HTTP::Engine
For more information on module installation, please visit the detailed CPAN module installation guide.