Catalyst::Engine::HTTP - Catalyst HTTP Engine
A script using the Catalyst::Engine::HTTP module might look like:
#!/usr/bin/perl -w BEGIN { $ENV{CATALYST_ENGINE} = 'HTTP' } use strict; use lib '/path/to/MyApp/lib'; use MyApp; MyApp->run;
This is the Catalyst engine specialized for development and testing.
Writes the buffer to the client.
Options hash passed to the http engine to control things like if keepalive is supported.
Catalyst, Catalyst::Engine
Catalyst Contributors, see Catalyst.pm
Many parts are ripped out of HTTP::Server::Simple by Jesse Vincent.
HTTP::Server::Simple
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Runtime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Runtime
CPAN shell
perl -MCPAN -e shell install Catalyst::Runtime
For more information on module installation, please visit the detailed CPAN module installation guide.