devel/p5-Specio 0.53nb1 NetBSD
Type constraints and coercions for Perl
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- artistic-2.0
- Categories
- devel, perl5
- Package size
- 55.5 KiB, 444.6 KiB installed
Description
The Specio distribution provides classes for representing type constraints and coercion, along with syntax sugar for declaring them.
Note that this is not a proper type system for Perl. Nothing in this distribution will magically make the Perl interpreter start checking a value's type on assignment to a variable. In fact, there's no built-in way to apply a type to a variable at all.
Instead, you can explicitly check a value against a type, and optionally coerce values to that type.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-Specio | 0.53nb1 |
| FreeBSD | devel/p5-Specio | 0.53 |
| OpenBSD | devel/p5-Specio | 0.51 |
| DragonFly | devel/p5-Specio | 0.50 |
| MidnightBSD | devel/p5-Specio | 0.53 |
| HardenedBSD | devel/p5-Specio | 0.53 |
| GhostBSD | devel/p5-Specio | 0.53 |
| OPNsense | devel/p5-Specio | 0.53 |
Install
Binary package:
pkgin install p5-Specio
From pkgsrc:
cd /usr/pkgsrc/devel/p5-Specio && 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.53nb1 |
| NetBSD 10.1 aarch64 | 0.53 |
| SmartOS / illumos x86_64 | 0.53nb1 |
| macOS 15 arm64 | 0.53nb1 |