1 package MooseX::Types::Common;
6 our $VERSION = '0.001001';
12 MooseX::Types::Common - A library of commonly used type constraints
16 use MooseX::Types::Common::String qw/SimpleStr/;
17 has short_str => (is => 'rw', isa => SimpleStr);
21 $object->short_str("string\nwith\nbreaks");
25 use MooseX::Types::Common::Numeric qw/PositiveInt/;
26 has count => (is => 'rw', isa => PositiveInt);
34 A set of commonly-used type constraints that do not ship with Moose by default.
40 =item * L<MooseX::Types::Common::String>
42 =item * L<MooseX::Types::Common::Numeric>
44 =item * L<MooseX::Types>
46 =item * L<Moose::Util::TypeConstraints>
52 This distribution was extracted from the L<Reaction> code base by Guillermo
55 The original authors of this library are:
61 =item * K. J. Cheetham
63 =item * Guillermo Roditi
69 This library is free software, you can redistribute it and/or modify
70 it under the same terms as Perl itself.