README
1NAME
2 MooX::Types::MooseLike::Numeric - Moo types for numbers
3
4SYNOPSIS
5 package MyPackage;
6 use Moo;
7 use MooX::Types::MooseLike::Numeric qw(PositiveInt);
8
9 has "daily_breathes" => (
10 is => 'rw',
11 isa => PositiveInt
12 );
13
14DESCRIPTION
15 A set of numeric types to be used in Moo-based classes. Adapted from
16 MooseX::Types::Common::Numeric
17
18TYPES (subroutines)
19 Available types are listed below.
20
21 PositiveNum
22 PositiveOrZeroNum
23 PositiveInt
24 PositiveOrZeroInt
25 NegativeNum
26 NegativeOrZeroNum
27 NegativeInt
28 NegativeOrZeroInt
29 SingleDigit
30
31SEE ALSO
32 MooX::Types::MooseLike - a type builder.
33
34 MooX::Types::MooseLike::Base - a set of basic types.
35
36 MooX::Types::MooseLike::Email, MooX::Types::MooseLike::DateTime
37
38AUTHOR
39 mateu - Mateu X. Hunter (cpan:MATEU) <hunter@missoula.org>
40
41CONTRIBUTORS
42 amidos - Dmitry Matrosov (cpan:AMIDOS) <amidos@amidos.ru>
43
44COPYRIGHT
45 Copyright (c) 2011-2015 the MooX::Types::MooseLike::Numeric "AUTHOR"
46
47LICENSE
48 This library is free software and may be distributed under the same
49 terms as perl itself.
50
51