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
authen::simple(3pm) - debian
authen::simple::kerberos(3pm) - debian
pod::simple::wiki::tiddlywiki(3pm) - debian
pod::simple::wiki::usemod(3pm) - debian
router::simple::cookbook(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections