Path to this page:
./
devel/p5-Syntax-Keyword-Junction,
Perl5 module to provide keywords for any, all, none, or one
Branch: CURRENT,
Version: 0.003008nb10,
Package name: p5-Syntax-Keyword-Junction-0.003008nb10,
Maintainer: pkgsrc-usersThis is a lightweight module which provides 'Junction' operators, the most
commonly used being any and all. Inspired by the Perl6 design docs [1].
Provides a limited subset of the functionality of Quantum::Superpositions
([2]).
That if you want to match against a regular expression, you must use == or
!=. Not =~ or !~. You must also use a regex object, such as qr/\d/, not a
plain regex such as /\d/.
This module is actually a fork of Perl6::Junction with very few (initial)
changes. The reason being that we want to avoid the incendiary name
containing Perl6.
Quantum::Superpositions provides the same functionality as this, and more.
However, this module provides this limited functionality at a much greater
runtime speed, with my benchmarks showing between 500% and 6000% improvment.
[1] http://dev.perl.org/perl6/doc/design/exe/E06.html
[2] http://search.cpan.org/perldoc?Quantum%3A%3ASuperpositions
Required to run:[
lang/perl5] [
devel/p5-Sub-Exporter-Progressive] [
devel/p5-syntax]
Required to build:[
devel/p5-Test-Requires] [
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 17.101 KB
Version history: (Expand)
- (2024-11-16) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb10
- (2023-07-06) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb9
- (2022-06-28) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb8
- (2021-05-25) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb7
- (2020-09-01) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb6
- (2019-08-11) Updated to version: p5-Syntax-Keyword-Junction-0.003008nb5
CVS history: (Expand)