1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
package Mojo::HelloWorld;
use Mojolicious::Lite;
# "Does whisky count as beer?"
app->log->level('error')->path(undef);
any '/*whatever' => {whatever => '', text => 'Your Mojo is working!'};
1;
=head1 NAME
Mojo::HelloWorld - Hello World!
=head1 SYNOPSIS
use Mojo::HelloWorld;
=head1 DESCRIPTION
L<Mojo::HelloWorld> is the default L<Mojolicious> application, used mostly
for testing.
=head1 SEE ALSO
L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicio.us>.
=cut
|