devel/p5-match-simple 0.012nb3 NetBSD
Clone of smartmatch operator
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v1 OR artistic
- Categories
- devel
- Package size
- 10.7 KiB, 32.0 KiB installed
Description
match::smart provides a match operator |M| that acts like more or less identically to the (as of Perl 5.18) deprecated smart match operator.
If you don't like the crazy Sub::Infix operator, you can alternatively export a more normal function:
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-match-simple | 0.012nb3 |
| FreeBSD | devel/p5-match-simple | 0.012 |
| DragonFly | devel/p5-match-simple | 0.012 |
| MidnightBSD | devel/p5-match-simple | 0.012 |
| HardenedBSD | devel/p5-match-simple | 0.012 |
| GhostBSD | devel/p5-match-simple | 0.012 |
Install
Binary package:
pkgin install p5-match-simple
From pkgsrc:
cd /usr/pkgsrc/devel/p5-match-simple && 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.012nb3 |
| NetBSD 10.1 aarch64 | 0.012nb2 |
| SmartOS / illumos x86_64 | 0.012nb3 |
| macOS 15 arm64 | 0.012nb3 |