SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Sub-PatternMatching rpm build for : OpenSuSE. For other distributions click perl-Sub-PatternMatching.

Name : perl-Sub-PatternMatching
Version : 1.04 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp154.6.1 Date : 2023-01-27 18:02:14
Group : Development/Libraries/Perl Source RPM : perl-Sub-PatternMatching-1.04-lp154.6.1.src.rpm
Size : 0.02 MB
Packager : https://www_suse_com/
Summary : Functional languages\' Pattern Matching for Perl subs
Description :
Sub::PatternMatching implements \"Pattern Matching,\" a programming idiom
often found in functional languages like Haskell or OCaml. Pattern Matching
refers to functions that do different things for different arguments. It is
often referred to as polymorphism as well.

The syntax is currently a bit convoluted taking away much from the benefit
of readability by replacing nested if-else constructs with pattern
matching. This is supposed to be fixed in a later release, but maintaining
backward-compatibility.

To construct a pattern matching subroutine, you assign the result of a call
to the \'patternmatch()\' subroutine that is exported by the module to a
scalar or symbol table entry. \'patternmatch()\' returns an anonymous
function.

The arguments to \'patternmatch()\' are expected to be pairs of array or hash
references and code references like this:

C< [ ...pattern... ] => sub { ...implementation... }>
or
C< { ...pattern... } => sub { ...implementation... }>

If the pattern applies to the function arguments, the corresponding code
reference will be called with the original arguments.

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

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Sub-PatternMatching-1.04-lp154.6.1.noarch.rpm
     

Provides :
perl(Sub::PatternMatching)
perl-Sub-PatternMatching

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Params::Validate) >= 0.69
perl(Test::Pod) >= 1.00
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Sub
/usr/lib/perl5/vendor_perl/5.26.1/Sub/PatternMatching.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Sub-PatternMatching
/usr/share/doc/packages/perl-Sub-PatternMatching/Changes
/usr/share/doc/packages/perl-Sub-PatternMatching/README
/usr/share/doc/packages/perl-Sub-PatternMatching/examples
/usr/share/doc/packages/perl-Sub-PatternMatching/examples/derive.pl
/usr/share/doc/packages/perl-Sub-PatternMatching/examples/dumper.pl
/usr/share/man/man3/Sub::PatternMatching.3pm.gz

 
ICM