Source: libmoosex-meta-typeconstraint-mooish-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: libaliased-perl, libmoose-perl, libnamespace-autoclean-perl (>= 0.24), libtest-checkdeps-perl (>= 0.010), libtest-fatal-perl, libtest-moose-more-perl (>= 0.028), libtry-tiny-perl, perl, perl (>= 5.11.1) | libtest-simple-perl (>= 0.94) Standards-Version: 3.9.6 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libmoosex-meta-typeconstraint-mooish-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmoosex-meta-typeconstraint-mooish-perl.git Homepage: https://metacpan.org/release/MooseX-Meta-TypeConstraint-Mooish Package: libmoosex-meta-typeconstraint-mooish-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libmoose-perl, libnamespace-autoclean-perl (>= 0.24), libtry-tiny-perl Description: module to translate Moo-style constraints to Moose-style Moose::Meta::TypeConstraint are expected to return true if the value passes the constraint, and false otherwise; Moo "constraints", on the other hand, die if validation fails. . The MooseX::Meta::TypeConstraint::Mooish metaclass allows for Moo-style constraints; it will wrap them and translate their Moo into a dialect Moose understands. . Note that this is largely to enable functionality in MooseX::AttributeShortcuts; the easiest way use this metaclass is by using that package. Also, as it's not inconceivable that this functionality may be desired in other constraint metaclasses, the bulk of this metaclass' functionality is implemented as a trait (MooseX::TraitFor::Meta::TypeConstraint::Mooish).