MVC::Neaf::Request::CGI - CGI driver for Not Even A Framework.
Mostly useful for command-line based debugging via MVC::Neaf::CLI. However, a Neaf app can run as a CGI script (unless, of course, it relies on in-memory storage somewhere).
See MVC::Neaf::Request for the API. Nothing really interesting here.
CGI is used internally.
Return GET/POST.
HTTP/1.0 or HTTP/1.1
NOTE This currently returns based on the presence of Host header, which is a HACK. Haven't found a better way yet...
Returns http or https.
Returns server hostname.
Returns server port.
Write to socket if async content serving is in use.
Close client connection in async content mode.
To install MVC::Neaf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MVC::Neaf
CPAN shell
perl -MCPAN -e shell install MVC::Neaf
For more information on module installation, please visit the detailed CPAN module installation guide.