lang/p5-Switch 2.17nb10 NetBSD
Switch statement for Perl
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- lang, perl5
- Package size
- 14.4 KiB, 46.2 KiB installed
Description
Switch.pm provides the syntax and semantics for an explicit case mechanism for Perl. The syntax is minimal, introducing only the keywords C<switch> and C<case> and conforming to the general pattern of existing Perl control structures. The semantics are particularly rich, allowing any one (or more) of early 30 forms of matching to be used when comparing a switch value with its various cases.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | lang/p5-Switch | 2.17nb10 |
| FreeBSD | lang/p5-Switch | 2.17_1 |
| OpenBSD | devel/p5-Switch | 2.17p0 |
| DragonFly | lang/p5-Switch | 2.17_1 |
| MidnightBSD | lang/p5-Switch | 2.17 |
| HardenedBSD | lang/p5-Switch | 2.17_1 |
| GhostBSD | lang/p5-Switch | 2.17_1 |
Install
Binary package:
pkgin install p5-Switch
From pkgsrc:
cd /usr/pkgsrc/lang/p5-Switch && 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 | 2.17nb10 |
| NetBSD 10.1 aarch64 | 2.17nb9 |
| SmartOS / illumos x86_64 | 2.17nb10 |
| macOS 15 arm64 | 2.17nb10 |