Author image Karen Etheridge 🐾 πŸŒ‹πŸ¦‘πŸ‡ΉπŸ‡ΌπŸ‡­πŸ‡°
and 8 contributors


A cookbook for Path::Dispatcher


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
Chain rules for Path::Dispatcher
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