router::simple::declare(3pm) debian man page | unix.com

Man Page: router::simple::declare

Operating Environment: debian

Section: 3pm

Router::Simple::Declare(3pm)				User Contributed Perl Documentation			      Router::Simple::Declare(3pm)

NAME
Router::Simple::Declare - declarative interface for Router::Simple
SYNOPSIS
use Router::Simple::Declare; my $router = router { connect '/{controller}/{action}/{id}'; submapper('/account', {controller => 'Account'}) ->connect('/login', {action => 'login'}) ->connect('/logout', {action => 'logout'}); }; $router->match('/entry/show/3');
DESCRIPTION
Easy way to declare router object.
USAGE
look the SYNOPSIS.see Router::Simple for more details.
FUNCTIONS
router connect submapper
SEE ALSO
Router::Simple perl v5.14.2 2011-05-15 Router::Simple::Declare(3pm)
Related Man Pages
mason::plugin::routersimple(3pm) - debian
pod::simple::wiki::moinmoin(3pm) - debian
pod::simple::wiki::textile(3pm) - debian
pod::simple::wiki::tiddlywiki(3pm) - debian
router::simple(3pm) - debian
Similar Topics in the Unix Linux Community
Detecting unused variables...
One instance of comparing grep and awk
Weird 'find' results
New UNIX and Linux History Sections