藤 吾郎 > MouseX-Types-Common-0.001000 > MouseX::Types::Common::Numeric

Download:
MouseX-Types-Common-0.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001000   Source  

NAME ^

MouseX::Types::Common::Numeric - A set of commonly-used numeric type constraints

SYNOPSIS ^

    use MouseX::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 Mouse by default.

SEE ALSO ^

AUTHORS ^

Please see:: MouseX::Types::Common

syntax highlighting: