Debian logoDebian Screenshots >

libmoosex-meta-typeconstraint-mooish-perl

module to translate Moo-style constraints to Moose-style

Description

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).

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://metacpan.org/release/MooseX-Meta-TypeConstraint-Mooish


Statistics

596 other people were interested in this package here. The newest known version of this software is 0.001-1 (Information last updated 1 day ago.)