./devel/p5-Specio, Type constraints and coercions for Perl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q2, Version: 0.37nb1, Package name: p5-Specio-0.37nb1, Maintainer: pkgsrc-users

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.


Required to run:
[devel/p5-Devel-StackTrace] [devel/p5-MRO-Compat]

Required to build:
[devel/p5-Test-Fatal]

Master sites:

SHA1: 2b902ad14839aaf00838b14430d355b1c7a71813
RMD160: 54ca768655f8baf16009c52a41aff1111232f050
Filesize: 94.31 KB

Version history: (Expand)