Package : perl-MooseX-Meta-TypeConstraint-Mooish > RPM : perl-MooseX-Meta-TypeConstraint-Mooish-0.1.0-3.mga6.src.rpm
Basic items
Name | perl-MooseX-Meta-TypeConstraint-Mooish |
Version | 0.1.0 |
Release | 3.mga6 |
URL | http://search.cpan.org/dist/MooseX-Meta-TypeConstraint-Mooish |
Group | Development/Perl |
Summary | Translate Moo-style constraints to Moose-style |
Size | 27KB |
Arch | noarch |
License | LGPLv2 |
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.
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.
Media information
Distribution release | Mageia 6 |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2016-06-19 06:16:15 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |