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

Mojolicious::Command::Version


НАЗВАНИЕ

Mojolicious::Command::Version - Version Command

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

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

ОПИСАНИЕ

Mojolicious::Command::Version shows versions of installed modules.

АТРИБУТЫ

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

description

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

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

usage

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

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

МЕТОДЫ

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

run

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

Run this command.

СМ. ТАКЖЕ

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