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.
Build Time
2024-10-13 05:36:04 GMT
Size
137.06 KB
e994a38506617772690c95b794a9e503
License
Artistic-2.0 AND (GPL-1.0-or-later OR Artistic-1.0-Perl)