Search results for "module:Path::Dispatcher"
Path::Dispatcher - Flexible and extensible dispatch
We really like Jifty::Dispatcher and wanted to use it for Prophet's command line. The basic operation is that of dispatch. Dispatch takes a path and a list of rules, and it returns a list of matches. From there you can "run" the rules that matched. T...
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Path - path and some optional metadata
ETHER/Path-Dispatcher-1.08
-
12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule - predicate and codeblock
A rule has a predicate and an optional codeblock. Rules can be matched (which checks the predicate against the path) and they can be ran (which invokes the codeblock). This class is not meant to be instantiated directly, because there is no predicate...
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Match - the result of a successful rule match
If a Path::Dispatcher::Rule successfully matches a path, it creates one or more "Path::Dispatcher::Match" objects....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
JSORB::Dispatcher::Path - Simple path based dispatcher
This module will dispatch RPC methods/procedures that are in a path-like format, such as: { method : 'math/simple/add', params : [ 2, 2 ] } This will look for the "add" procedure in the "Math::Simple" namespace....
STEVAN/JSORB-0.04 - 13 Jan 2010 19:27:11 UTC
Path::Dispatcher::Dispatch - a list of matches
Dispatching creates a "dispatch" which is little more than a (possibly empty!) list of matches....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Eq - predicate is a string equality
Rules of this class simply check whether the string is equal to the path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Enum - one of a list of strings must match
Rules of this class check whether the path matches any of its "enum" strings....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Chain - Chain rules for Path::Dispatcher
ETHER/Path-Dispatcher-1.08
-
12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Regex - predicate is a regular expression
Rules of this class use a regular expression to match against the path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Empty - matches only the empty path
Rules of this class match only the empty path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Under - rules under a predicate
Rules of this class have two-phase matching: if the predicate is matched, then the contained rules are matched. The benefit of this is less repetition of the predicate, both in terms of code and in matching it....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Role::Rules - "has a list of rules"
Classes that compose this role get the following things:...
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Declarative - sugary dispatcher
Jifty::Dispatcher rocks!...
SARTAK/Path-Dispatcher-Declarative-0.03 - 02 Nov 2010 12:12:08 UTC
Path::Dispatcher::Rule::Tokens - predicate is a list of tokens
Rules of this class use a list of tokens to match the path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Always - always matches
Rules of this class always match. If a prefix match is requested, the full path is returned as leftover....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::CodeRef - predicate is any subroutine
Rules of this class can match arbitrarily complex values. This should be used only when there is no other recourse, because there's no way we can inspect how things match. You're much better off creating a custom subclass of Path::Dispatcher::Rule if...
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Dispatch - redispatch
Rules of this class use another dispatcher to match the path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Sequence - a sequence of rules
This is basically a more robust and flexible version of Path::Dispatcher::Rule::Tokens. Instead of a mish-mash of strings, regexes, and array references, a Sequence rule has just a list of other rules....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
Path::Dispatcher::Rule::Metadata - match path's metadata
Rules of this class match the metadata portion of a path....
ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC