The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

Amon2::Web::Dispatcher::Lite - Sinatra like dispatcher for Amon2

SYNOPSIS

package MyApp::Web;
get '/' => sub {
render('index.mt');
};
get '/hello/:name' => sub {
my ($c, $args) = @_;
render('hello.mt', $args->{name});
};
1;

DESCRIPTION

It's in alpha quality

We will split this module from Amon2 core distribution. You need to list this class to your cpanfile.