Query: path::dispatcher::rule::dispatch
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
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)