devel/p5-Syntax-Keyword-Junction 0.003009nb1 NetBSD
Perl5 module to provide keywords for any, all, none, or one
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 10.0 KiB, 49.3 KiB installed
Description
This 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
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Syntax-Keyword-Junction | 0.003009nb1 |
| FreeBSD | devel/p5-Syntax-Keyword-Junction | 0.003009 |
| DragonFly | devel/p5-Syntax-Keyword-Junction | 0.003009 |
| MidnightBSD | devel/p5-Syntax-Keyword-Junction | 0.003009 |
| HardenedBSD | devel/p5-Syntax-Keyword-Junction | 0.003009 |
| GhostBSD | devel/p5-Syntax-Keyword-Junction | 0.003009 |
Install
Binary package:
pkgin install p5-Syntax-Keyword-Junction
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Syntax-Keyword-Junction && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.003009nb1 |
| NetBSD 10.1 aarch64 | 0.003009 |
| SmartOS / illumos x86_64 | 0.003009nb1 |
| macOS 15 arm64 | 0.003009nb1 |