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::Script::Cgi - CGI Script

SYNOPSIS

    use Mojo::Script::CGI;

    my $cgi = Mojo::Script::CGI->new;
    $cgi->run(@ARGV);

DESCRIPTION

Mojo::Script::Cgi is a script interface to Mojo::Server::CGI.

ATTRIBUTES

Mojo::Script::Cgi inherits all attributes from Mojo::Script and implements the following new ones.

description

    my $description = $cgi->description;
    $cgi            = $cgi->description('Foo!');

METHODS

Mojo::Script::Cgi inherits all methods from Mojo::Script and implements the following new ones.

run

    $cgi = $cgi->run(@ARGV);