Query: moosex::types::common::numeric
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MooseX::Types::Common::Numeric(3pm) User Contributed Perl Documentation MooseX::Types::Common::Numeric(3pm)NAMEMooseX::Types::Common::Numeric - Commonly used numeric typesSYNOPSISuse MooseX::Types::Common::Numeric qw/PositiveInt/; has count => (is => 'rw', isa => PositiveInt); ... #this will fail $object->count(-33);DESCRIPTIONA set of commonly-used numeric type constraints that do not ship with Moose by default. o PositiveNum o PositiveOrZeroNum o PositiveInt o PositiveOrZeroInt o NegativeNum o NegativeOrZeroNum o NegativeInt o NegativeOrZeroInt o SingleDigitSEE ALSOo MooseX::Types::Common::StringAUTHORSPlease see:: MooseX::Types::Common perl v5.14.2 2012-06-14 MooseX::Types::Common::Numeric(3pm)