Mojo::Command::Cgi(3pm)

Mojo::Command::Cgi3pm

Cgi command

Usage

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

Overview

Mojo::Command::Cgi is a command interface to Mojo::Server::CGI.

Attributes

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

"description"

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

Short description of this command, used for the command list.

"usage"

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

Usage information for this command, used for the help screen.

Methods

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

"run"

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

Run this command.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.