The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Path::Dispatcher"

Path::Dispatcher - Flexible and extensible dispatch River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC

Path::Dispatcher::Rule - predicate and codeblock River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 1 direct dependent • 1 total dependent

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC

Path::Dispatcher::Rule::Regex - predicate is a regular expression River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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" River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 2 direct dependents • 6 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

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 River stage one • 3 direct dependents • 8 total dependents

Rules of this class match the metadata portion of a path....

ETHER/Path-Dispatcher-1.08 - 12 Jul 2020 02:53:00 UTC
25 results (0.031 seconds)