


MooseX::Types::CUosmemronC:o:nNturmiebruitce(d3MpPo)eorsleXD:o:cTuympeenst:a:tCioomnmon::Numeric(3p)


NNAAMMEE
       MooseX::Types::Common::Numeric - Commonly used numeric types

SSYYNNOOPPSSIISS
           use MooseX::Types::Common::Numeric qw/PositiveInt/;
           has count => (is => 'rw', isa => PositiveInt);

           ...
           #this will fail
           $object->count(-33);

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

       +o   PositiveNum

       +o   PositiveInt

       +o   NegativeNum

       +o   Int

       +o   SingleDigit

SSEEEE AALLSSOO
       +o   MooseX::Types::Common::String

AAUUTTHHOORRSS
       Please see:: MooseX::Types::Common



























perl v5.12.2                2010-01-04                          1


