SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Path-Dispatcher rpm build for : openSUSE Tumbleweed. For other distributions click perl-Path-Dispatcher.

Name : perl-Path-Dispatcher
Version : 1.08 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.52 Date : 2024-08-05 17:48:27
Group : Development/Libraries/Perl Source RPM : perl-Path-Dispatcher-1.08-1.52.src.rpm
Size : 0.12 MB
Packager : (none)
Summary : flexible and extensible dispatch
Description :
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. These phases are distinct so that, if you need to, you
can inspect which rules were matched without ever running their codeblocks.

Tab completion support is also available (see in particular
Path::Dispatcher::Cookbook/How can I configure tab completion for shells?)
for the dispatchers you write.

Each rule may take a variety of different forms (which I think justifies
the \"flexible\" adjective in the module\'s description). Some of the rule
types are:

* Path::Dispatcher::Rule::Regex

Matches the path against a regular expression.

* Path::Dispatcher::Rule::Enum

Match one of a set of strings.

* Path::Dispatcher::Rule::CodeRef

Execute a coderef to determine whether the path matches the rule. So you
can do anything you like. Though writing a domain-specific rule (see below)
will enable better introspection and encoding intent.

* Path::Dispatcher::Rule::Dispatch

Use another Path::Dispatcher to match the path. This facilitates both
extending dispatchers (a bit like subclassing) and delegating to plugins.

Since Path::Dispatcher is designed with good object-oriented programming
practices, you can also write your own domain-specific rule classes (which
earns it the \"extensible\" adjective). For example, in Prophet, we have a
custom rule for matching, and tab completing, record IDs.

You may want to use Path::Dispatcher::Declarative which gives you some
sugar inspired by Jifty::Dispatcher.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Path-Dispatcher-1.08-1.52.noarch.rpm
     

Provides :
perl(Path::Dispatcher)
perl(Path::Dispatcher::Dispatch)
perl(Path::Dispatcher::Match)
perl(Path::Dispatcher::Path)
perl(Path::Dispatcher::Role::Rules)
perl(Path::Dispatcher::Rule)
perl(Path::Dispatcher::Rule::Alternation)
perl(Path::Dispatcher::Rule::Always)
perl(Path::Dispatcher::Rule::Chain)
perl(Path::Dispatcher::Rule::CodeRef)
perl(Path::Dispatcher::Rule::Dispatch)
perl(Path::Dispatcher::Rule::Empty)
perl(Path::Dispatcher::Rule::Enum)
perl(Path::Dispatcher::Rule::Eq)
perl(Path::Dispatcher::Rule::Intersection)
perl(Path::Dispatcher::Rule::Metadata)
perl(Path::Dispatcher::Rule::Regex)
perl(Path::Dispatcher::Rule::Sequence)
perl(Path::Dispatcher::Rule::Tokens)
perl(Path::Dispatcher::Rule::Under)
perl-Path-Dispatcher

Requires :
perl(:MODULE_COMPAT_5.40.0)
perl(Moo)
perl(Moo::Role)
perl(MooX::TypeTiny)
perl(Try::Tiny)
perl(Type::Tiny)
perl(Type::Utils)
perl(Types::Standard)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Path
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Cookbook.pod
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Match.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Path.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Role
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Role/Rules.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Alternation.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Always.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Chain.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/CodeRef.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Dispatch.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Empty.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Enum.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Eq.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Intersection.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Metadata.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Regex.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Sequence.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Tokens.pm
/usr/lib/perl5/vendor_perl/5.40.0/Path/Dispatcher/Rule/Under.pm
/usr/share/doc/packages/perl-Path-Dispatcher
/usr/share/doc/packages/perl-Path-Dispatcher/CONTRIBUTING
/usr/share/doc/packages/perl-Path-Dispatcher/Changes
/usr/share/doc/packages/perl-Path-Dispatcher/README
/usr/share/licenses/perl-Path-Dispatcher
There is 22 files more in these RPM.

 
ICM