The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catalyst::Engine::CGI - The CGI Engine

SYNOPSIS

    #!/usr/bin/perl -w

    use strict;
    use lib '/path/to/MyApp/lib';
    use MyApp;

    MyApp->run;

See Catalyst.

DESCRIPTION

This is the CGI engine for Catalyst.

The script shown above must be designated as a "Non-parsed Headers" script to function properly. To do this in Apache name the script starting with nph-.

The performance of this way of using Catalyst is not expected to be useful in production applications, but it may be helpful for development.

METHODS

run

To be called from a CGI script to start the Catalyst application.

cgi

This config parameter contains the CGI::Simple object.

OVERLOADED METHODS

This class overloads some methods from Catalyst.

finalize_headers

finalize_output

prepare_cookies

prepare_headers

prepare_parameters

prepare_path

prepare_request

prepare_uploads

SEE ALSO

Catalyst.

AUTHOR

Sebastian Riedel, sri@cpan.org

COPYRIGHT

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