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

Mojolicious::Command::Eval


НАЗВАНИЕ

Mojolicious::Command::Eval - Eval Command

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

  use Mojolicious::Command::Eval;
     
  my $eval = Mojolicious::Command::Eval->new;
  $eval->run;

ОПИСАНИЕ

Mojolicious::Command::Eval runs code against applications. Note that this module is EXPERIMENTAL and might change without warning!

АТРИБУТЫ

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

description

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

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

usage

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

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

МЕТОДЫ

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

run

  $eval->run;

Run this command.

СМ. ТАКЖЕ

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