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

Mojo::Server::CGI - CGI Server

SYNOPSIS

    use Mojo::Server::CGI;
    my $cgi = Mojo::Server::CGI->new;
    $cgi->run;

DESCRIPTION

Mojo::Server::CGI is a simple and portable CGI implementation.

ATTRIBUTES

Mojo::Server::CGI inherits all attributes from Mojo::Server and implements the following new ones.

non_parsed_header

    my $non_parsed_header = $cgi->non_parsed_header;
    $cgi                  = $cgi->non_parsed_header(1);

METHODS

Mojo::Server::CGI inherits all methods from Mojo::Server and implements the following new ones.

run

    $cgi->run;