MooX::Types::MooseLike::Numeric(3pm)

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.

  1. 8
  2. 9–11
  3. 12–13

Author

mateu - Mateu X. Hunter (cpan:MATEU) <[email protected]>

License

This library is free software and may be distributed under the same terms as perl itself.

From libmoox-types-mooselike-numeric-perl 1.03-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.