BSD Ports

devel/p5-Specio 0.50 DragonFly

Type constraints and coercions for Perl

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART20
Categories
devel, perl5
Package size
128.1 KiB, 348.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.

The author's long-term goal is to replace Moose's built-in types and MooseX::Types with this module.

In the other systems

The newest version among them is 0.53, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Specio0.50none known-[email protected]-
FreeBSDdevel/p5-Specio0.53 newestnone known-[email protected]-
OpenBSDdevel/p5-Specio0.51no data-Wen Heping <[email protected]>-
NetBSDdevel/p5-Specio0.53nb1 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-Specio0.53 newestno data-[email protected]-
HardenedBSDdevel/p5-Specio0.53 newestno data-[email protected]-
GhostBSDdevel/p5-Specio0.53 newestno data-[email protected]-
OPNsensedevel/p5-Specio0.53 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Specio

From DPorts:

cd /usr/dports/devel/p5-Specio && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 9