BSD Ports

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

SystemPortVersion
NetBSDdevel/p5-Specio0.53nb1
FreeBSDdevel/p5-Specio0.53
OpenBSDdevel/p5-Specio0.51
DragonFlydevel/p5-Specio0.50
MidnightBSDdevel/p5-Specio0.53
HardenedBSDdevel/p5-Specio0.53
GhostBSDdevel/p5-Specio0.53
OPNsensedevel/p5-Specio0.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.

RepositoryVersion
NetBSD 10.1 x86_640.53nb1
NetBSD 10.1 aarch640.53
SmartOS / illumos x86_640.53nb1
macOS 15 arm640.53nb1

Dependencies

Run dependencies 12

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0