debian man page for router::simple::submapper

Query: router::simple::submapper

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
Router::Simple::SubMapper - submapper
SYNOPSIS
use Router::Simple; my $router = Router::Simple->new(); my $s = $router->submapper('/entry/{id}', {controller => 'Entry'}); $s->connect('/edit' => {action => 'edit'}) ->connect('/show' => {action => 'show'});
DESCRIPTION
Router::Simple::SubMapper is sub-mapper for Router::Simple. This class provides shorthand to create routes, that have common parts.
METHODS
my $submapper = $router->submapper(%args); Do not call this method directly.You should create new instance from $router->submapper(%args). $submapper->connect(@args) This method creates new route to parent $router with @args and arguments of ->submapper(). This method returns $submapper itself for method-chain.
SEE ALSO
Router::Simple perl v5.14.2 2011-05-15 Router::Simple::SubMapper(3pm)
Related Man Pages
authen::simple::pam(3pm) - debian
pod::simple::wiki::moinmoin(3pm) - debian
pod::simple::wiki::usemod(3pm) - debian
router::simple(3pm) - debian
tree::simple::visitor::variabledepthclone(3pm) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com