Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release > by-pkgid > 751ed84a459d50eaeefeb13304dca6a8

perl-MooseX-Meta-TypeConstraint-Mooish-0.1.0-6.mga9.noarch.rpm

Description:

Moose type constraints are expected to return true if the value passes
the constraint, and false otherwise; Moo "constraints", on the other
hand, die if validation fails.

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

Sources packages:

Other version of this rpm: