Mateu X. Hunter > MooX-Types-MooseLike-0.18 > MooX::Types::MooseLike::Numeric

Download:
MooX-Types-MooseLike-0.18.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: MooX-Types-MooseLike-0.21

NAME ^

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

SYNOPSIS ^

    package MyPackage;
    use Moo;
    use MooX::Types::MooseLike::Numeric qw(PositiveInt);

    has "daily_breathes" => (
        isa => PositiveInt
    );

DESCRIPTION ^

adpated from MooseX::Types::Common::Numeric

TYPES (subroutines) ^

Available types are listed below.

PositiveNum
PositiveOrZeroNum
PositiveInt
PositiveOrZeroInt
NegativeNum
NegativeOrZeroNum
NegativeInt
NegativeOrZeroInt
SingleDigit
syntax highlighting: