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.

nph

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

METHODS

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

run

    $cgi->run;