Man Page: router::simple::submapper
Operating Environment: debian
Section: 3pm
Router::Simple::SubMapper(3pm) User Contributed Perl Documentation Router::Simple::SubMapper(3pm)NAMERouter::Simple::SubMapper - submapperSYNOPSISuse Router::Simple; my $router = Router::Simple->new(); my $s = $router->submapper('/entry/{id}', {controller => 'Entry'}); $s->connect('/edit' => {action => 'edit'}) ->connect('/show' => {action => 'show'});DESCRIPTIONRouter::Simple::SubMapper is sub-mapper for Router::Simple. This class provides shorthand to create routes, that have common parts.METHODSmy $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 ALSORouter::Simple perl v5.14.2 2011-05-15 Router::Simple::SubMapper(3pm)
| Related Man Pages |
|---|
| authen::simple(3pm) - debian |
| authen::simple::pam(3pm) - debian |
| pod::simple::wiki::twiki(3pm) - debian |
| router::simple(3pm) - debian |
| tree::simple::visitor::tonestedhash(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| Introduction |
| Detecting unused variables... |
| One instance of comparing grep and awk |
| Find columns in a file based on header and print to new file |
| New UNIX and Linux History Sections |