Marcus Ramberg > Catalyst-Runtime-5.80012 > Catalyst::Engine::CGI

Download:
Catalyst-Runtime-5.80012.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  23
Open  15
Stalled  1
View/Report Bugs
Source   Latest Release: Catalyst-Runtime-5.80033

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, Catalyst::Engine

AUTHORS ^

Catalyst Contributors, see Catalyst.pm

COPYRIGHT ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: