NAME

Mojolicious::Command::perldoc - Quickly serve perldoc files

SYNOPSIS

Usage: APPLICATION perldoc [OPTIONS]

  ./myapp.pl perldoc

Options:
  -h, --help          Show this summary of available options

DESCRIPTION

Mojolicious::Command::perldoc quickly serves perldoc files

Serves files from the current directory as well as those specified on the command line. Numeric shortcuts (e.g. /1, /2, etc) are created for files that are specified on the command line.

ATTRIBUTES

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

description

my $description = $perldoc->description;
$perldoc         = $perldoc->description('Foo');

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

usage

my $usage = $perldoc->usage;
$routes   = $perldoc->usage('Foo');

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

METHODS

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

run

$perldoc->run(@ARGV);

Run this command.

SEE ALSO

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