pkgsrc/devel/p5-Path-Dispatcher/DESCR
seb b043ce740d Initial import of p5-Path-Dispatcher version 0.12 in the NetBSD
Packages Collection.

The Perl 5 module Path::Dispatcher is similar to the module
Jifty::Dispatcher but its use is for the 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. These phases are distinct so that,
if you need to, you can inspect which rules were matched without
ever running their codeblocks.
2009-04-23 22:17:01 +00:00

8 lines
414 B
Text

The Perl 5 module Path::Dispatcher is similar to the module
Jifty::Dispatcher but its use is for the 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. These phases are distinct so that,
if you need to, you can inspect which rules were matched without
ever running their codeblocks.