Документация Perl 5

Mojolicious::Command::Get


НАЗВАНИЕ

Mojolicious::Command::Get - Get Command

КРАТКИЙ ОБЗОР

    use Mojolicious::Command::Get;
     
    my $get = Mojolicious::Command::Get->new;
    $get->run(@ARGV);

ОПИСАНИЕ

Mojolicious::Command::Get is a command interface to Mojo::UserAgent.

АТРИБУТЫ

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

description

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

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

usage

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

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

МЕТОДЫ

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

run

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

Run this command.

СМ. ТАКЖЕ

Mojolicious, Mojolicious::Guides, http://mojolicio.us.