The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.15 - 2009-03-16

  • Factored Path-Dispatcher-Declarative into its own distribution
  • Be sure to update your dependency information!
  • Implement ->complete for Rule::Dispatch
  • Add Path::Dispatcher::Rule::Alternation
  • Implement case insensitivity fory Rule::Eq
  • Add Path::Dispatcher::Rule::Sequence - like Rule::Tokens but better!
  • Add Path::Dispatcher::Rule::Enum
  • Path autoboxing has been factored out into a private method for more overridability
  • A few documentation improvements as usual :)

Documentation

A cookbook for Path::Dispatcher

Modules

flexible and extensible dispatch
a list of matches
the result of a successful rule match
path and some optional metadata
"has a list of rules"
predicate and codeblock
predicate is any subroutine
matches only the empty path
one of a list of strings must match
predicate is a string equality
match path's metadata
predicate is a regular expression
a sequence of rules
predicate is a list of tokens
rules under a predicate

Provides

in lib/Path/Dispatcher/Rule/Chain.pm