Rootroute       Hosting       Order       Map       Login   Secure Inter-Network Operations  
 
man : MooseX::Types::Common::Numeric

Command: man perldoc info search(apropos)  




MooseX::Types::UseroContributedMPoeoseX::Types::Common::Numeric(3p)


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

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

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

DESCRIPTION
       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

SEE ALSO
       o   MooseX::Types::Common::String

AUTHORS
       Please see:: MooseX::Types::Common



























perl v5.12.2                2010-01-04                          1




rootr.net - man pages