Scroll to navigation

Mojolicious::Command::get(3pm) User Contributed Perl Documentation Mojolicious::Command::get(3pm)

NAME

Mojolicious::Command::get - Get command

SYNOPSIS

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

DESCRIPTION

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

ATTRIBUTES

Mojolicious::Command::get performs requests to remote hosts or local applications.

"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.

METHODS

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

"run"

  $get->run(@ARGV);
Run this command.

SEE ALSO

Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
2012-09-05 perl v5.14.2