1MooX::Types::MooseLike:U:sNeurmeCroinct(r3i)buted Perl DMoocouXm:e:nTtyapteiso:n:MooseLike::Numeric(3)
2
3
4
6 MooX::Types::MooseLike::Numeric - Moo types for numbers
7
9 package MyPackage;
10 use Moo;
11 use MooX::Types::MooseLike::Numeric qw(PositiveInt);
12
13 has "daily_breathes" => (
14 is => 'rw',
15 isa => PositiveInt
16 );
17
19 A set of numeric types to be used in Moo-based classes. Adapted from
20 MooseX::Types::Common::Numeric
21
23 Available types are listed below.
24
25 PositiveNum
26 PositiveOrZeroNum
27 PositiveInt
28 PositiveOrZeroInt
29 NegativeNum
30 NegativeOrZeroNum
31 NegativeInt
32 NegativeOrZeroInt
33 SingleDigit
34
36 MooX::Types::MooseLike - a type builder.
37
38 MooX::Types::MooseLike::Base - a set of basic types.
39
40 MooX::Types::MooseLike::Email, MooX::Types::MooseLike::DateTime
41
43 mateu - Mateu X. Hunter (cpan:MATEU) <hunter@missoula.org>
44
46 amidos - Dmitry Matrosov (cpan:AMIDOS) <amidos@amidos.ru>
47
49 Copyright (c) 2011-2015 the MooX::Types::MooseLike::Numeric "AUTHOR"
50
52 This library is free software and may be distributed under the same
53 terms as perl itself.
54
55
56
57perl v5.34.0 2022-01-21MooX::Types::MooseLike::Numeric(3)