MooX::Types::MooseLike::Numeric3pm
Moo types for numbers
Usage
package MyPackage;use Moo;use MooX::Types::MooseLike::Numeric qw(PositiveInt);has "daily_breathes" => (is => 'rw',isa => PositiveInt);
Overview
A set of numeric types to be used in Moo-based classes. Adapted from MooseX::Types::Common::Numeric
TYPES (subroutines)
Available types are listed below.
- PositiveNum
- PositiveOrZeroNum
- PositiveInt
- PositiveOrZeroInt
- NegativeNum
- NegativeOrZeroNum
- NegativeInt
- NegativeOrZeroInt
- SingleDigit
Contributors
amidos - Dmitry Matrosov (cpan:AMIDOS) <[email protected]>
Releases
6 releases since Debian 8 (Jessie); the text changed 2 times.