Mojo::HelloWorld(3p)  User Contributed Perl Documentation Mojo::HelloWorld(3p)



NAME
       Mojo::HelloWorld - Hello World!

SYNOPSIS
         use Mojo::Transaction::HTTP;
         use Mojo::HelloWorld;

         my $hello = Mojo::HelloWorld->new;
         my $tx = $hello->handler(Mojo::Transaction::HTTP->new);

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

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

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

       Construct a new Mojo::HelloWorld application.

   "handler"
         $tx = $hello->handler($tx);

       Handle request.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.



perl v5.12.2                      2011-03-11              Mojo::HelloWorld(3p)
