2 MooseX::Types::Common - A library of commonly used type constraints
5 use MooseX::Types::Common::String qw/SimpleStr/;
6 has short_str => (is => 'rw', isa => SimpleStr);
10 $object->short_str("string\nwith\nbreaks");
14 use MooseX::Types::Common::Numeric qw/PositiveInt/;
15 has count => (is => 'rw', isa => PositiveInt);
22 A set of commonly-used type constraints that do not ship with Moose by
26 * MooseX::Types::Common::String
28 * MooseX::Types::Common::Numeric
32 * Moose::Util::TypeConstraints
35 This distribution was extracted from the Reaction code base by Guillermo
38 The original authors of this library are:
47 This library is free software, you can redistribute it and/or modify it
48 under the same terms as Perl itself.