|
NAMEAmon2::Web::Dispatcher::Lite - Sinatra like dispatcher for Amon2SYNOPSISpackage MyApp::Web; use Amon2::Web::Dispatcher::Lite; get '/' => sub { render('index.mt'); }; get '/hello/:name' => sub { my ($c, $args) = @_; render('hello.mt', $args->{name}); }; 1; DESCRIPTIONIt's in alpha qualityWe will split this module from Amon2 core distribution. You need to list this class to your cpanfile.
Visit the GSP FreeBSD Man Page Interface. |