https://bugzilla.redhat.com/show_bug.cgi?id=1352042
Bug ID: 1352042 Summary: Review Request: perl-Specio - Type constraints and coercions for Perl Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: paul@city-fan.org QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: http://subversion.city-fan.org/repos/cfo-repo/perl-Specio/branches/fedora/pe...
SRPM URL: http://www.city-fan.org/~paul/extras/perl-Specio/perl-Specio-0.24-2.fc25.src...
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.
Fedora Account System Username: pghmcfc
Note: upstream for perl-DateTime is currently trialling using this (and Params::CheckCompiler) in place of Params::Validate.