View on
MetaCPAN
Sebastian Riedel > Mojolicious > Mojo::HelloWorld

Download:
Mojolicious-7.46.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Mojo::HelloWorld - Hello World!

SYNOPSIS ^

  use Mojo::HelloWorld;

  my $hello = Mojo::HelloWorld->new;
  $hello->start;

DESCRIPTION ^

Mojo::HelloWorld is the default Mojolicious application, used mostly for testing.

ATTRIBUTES ^

Mojo::HelloWorld inherits all attributes from Mojolicious.

METHODS ^

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

startup

  $hello->startup;

Creates a catch-all route that renders a text message.

SEE ALSO ^

Mojolicious, Mojolicious::Guides, http://mojolicious.org.

syntax highlighting: