1MooX::Types::MooseLike:U:sNeurmeCroinct(r3i)buted Perl DMoocouXm:e:nTtyapteiso:n:MooseLike::Numeric(3)
2
3
4

NAME

6       MooX::Types::MooseLike::Numeric - Moo types for numbers
7

SYNOPSIS

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

DESCRIPTION

19       A set of numeric types to be used in Moo-based classes. Adapted from
20       MooseX::Types::Common::Numeric
21

TYPES (subroutines)

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

SEE ALSO

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

AUTHOR

43       mateu - Mateu X. Hunter (cpan:MATEU) <hunter@missoula.org>
44

CONTRIBUTORS

46       amidos - Dmitry Matrosov (cpan:AMIDOS) <amidos@amidos.ru>
47
49       Copyright (c) 2011-2015 the MooX::Types::MooseLike::Numeric "AUTHOR"
50

LICENSE

52       This library is free software and may be distributed under the same
53       terms as perl itself.
54
55
56
57perl v5.32.1                      2021-01-27MooX::Types::MooseLike::Numeric(3)
Impressum