MooseX::Types::Common::Numeric(3pm)

MooseX::Types::Common::Numeric3pm

Commonly used numeric types

Usage

    use MooseX::Types::Common::Numeric qw/PositiveInt/;
    has count => (is => 'rw', isa => PositiveInt);
    ...
    #this will fail
    $object->count(-33);

Version

version 0.001015

Overview

A set of commonly-used numeric type constraints that do not ship with Moose by default.

•

"PositiveNum"

•

"PositiveOrZeroNum"

•

"PositiveInt"

•

"PositiveOrZeroInt"

•

"NegativeNum"

•

"NegativeOrZeroNum"

•

"NegativeInt"

•

"NegativeOrZeroInt"

•

"SingleDigit"

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types-Common> (or [email protected] <mailto:[email protected]>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12
  6. 13

Authors

•

Matt S Trout - mst (at) shadowcat.co.uk (<https://www.shadowcat.co.uk/>)

•

K. James Cheetham <[email protected]>

•

Guillermo Roditi <[email protected]>

From libmoosex-types-common-perl 0.001015-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.