Catalyst::Engine::CGI - The CGI Engine


NAME

Catalyst::Engine::CGI - The CGI Engine


SYNOPSIS

A script using the Catalyst::Engine::CGI module might look like:

    #!/usr/bin/perl -w
    use strict;
    use lib '/path/to/MyApp/lib';
    use MyApp;
    MyApp->run;

The application module (MyApp) would use Catalyst, which loads the appropriate engine module.


DESCRIPTION

This is the Catalyst engine specialized for the CGI environment.


OVERLOADED METHODS

This class overloads some methods from Catalyst::Engine.

$self->finalize_headers($c)

$self->prepare_connection($c)

$self->prepare_headers($c)

$self->prepare_path($c)

$self->prepare_query_parameters($c)

$self->prepare_request($c, (env => \%env))

$self->prepare_write($c)

Enable autoflush on the output handle for CGI-based engines.

$self->write($c, $buffer)

Writes the buffer to the client.

$self->read_chunk($c, $buffer, $length)

$self->run


SEE ALSO

Catalyst the Catalyst::Engine manpage.


AUTHORS

Sebastian Riedel, <sri@cpan.org>

Christian Hansen, <ch@ngmedia.com>

Andy Grundman, <andy@hybridized.org>


COPYRIGHT

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

 Catalyst::Engine::CGI - The CGI Engine