Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Amon2::Web::DispatcherUsertContributed Perl DocAmon2::Web::Dispatcher::Lite(3)

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

SYNOPSIS
	   package 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;

DESCRIPTION
       It's in alpha quality

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

perl v5.32.1			  2022-04-03   Amon2::Web::Dispatcher::Lite(3)

NAME | SYNOPSIS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Amon2::Web::Dispatcher::Lite&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help