The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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);