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)NAMEPath::Dispatcher::Rule::Dispatch - redispatchSYNOPSISmy $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");DESCRIPTIONRules of this class use another dispatcher to match the path.ATTRIBUTESdispatcher 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)
| 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 |