path::dispatcher::rule::dispatch(3pm) debian man page | unix.com

Man Page: path::dispatcher::rule::dispatch

Operating Environment: debian

Section: 3pm

Path::Dispatcher::Rule::Dispatch(3pm)			User Contributed Perl Documentation		     Path::Dispatcher::Rule::Dispatch(3pm)

NAME
Path::Dispatcher::Rule::Dispatch - redispatch
SYNOPSIS
my $dispatcher = Path::Dispatcher->new( rules => [ Path::Dispatcher::Rule::Tokens->new( tokens => [ 'help' ], block => sub { show_help }, ), Path::Dispatcher::Rule::Tokens->new( tokens => [ 'quit' ], block => sub { exit }, ), ], ); my $rule = Path::Dispatcher::Rule::Dispatch->new( dispatcher => $dispatcher, ); $rule->run("help");
DESCRIPTION
Rules of this class use another dispatcher to match the path.
ATTRIBUTES
dispatcher A Path::Dispatcher object. Its matches will be returned by matching this rule. perl v5.12.4 2011-08-30 Path::Dispatcher::Rule::Dispatch(3pm)
Related Man Pages
jifty::plugin::comment::dispatcher(3pm) - debian
log::report::dispatcher::callback(3pm) - debian
log::report::dispatcher::log4perl(3pm) - debian
log::report::dispatcher::perl(3pm) - debian
path::dispatcher::rule::tokens(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Is UNIX an open source OS ?
Introduction
Weird 'find' results
New UNIX and Linux History Sections