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

Man Page: router::simple::submapper

Operating Environment: debian

Section: 3pm

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
pod::simple::wiki::twiki(3pm) - debian
router::simple(3pm) - debian
router::simple::cookbook(3pm) - debian
tree::simple::visitor::tonestedhash(3pm) - debian
tree::simple::visitor::variabledepthclone(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Is UNIX an open source OS ?
One instance of comparing grep and awk
My first PERL incarnation... Audio Oscillograph