Sebastian Riedel > Mojo > Mojo::HelloWorld

Download:
Mojo-0.9002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Mojo-0.999913

NAME ^

Mojo::HelloWorld - Hello World!

SYNOPSIS ^

    use Mojo::Transaction;
    use Mojo::HelloWorld;

    my $hello = Mojo::HelloWorld->new;
    my $tx = $hello->handler(Mojo::Transaction->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;

handler

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