-
-
20 Jan 2017 15:45:21 UTC
- Distribution: MooX-Types-MooseLike-Numeric
- Module version: 1.03
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers (8408 / 0 / 2)
- Kwalitee
Bus factor: 1- 100.00% Coverage
- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (4.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- MooX::Types::MooseLike
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
MooX::Types::MooseLike::Numeric - Moo types for numbers
SYNOPSIS
package MyPackage; use Moo; use MooX::Types::MooseLike::Numeric qw(PositiveInt); has "daily_breathes" => ( is => 'rw', isa => PositiveInt );
DESCRIPTION
A set of numeric types to be used in Moo-based classes. Adapted from MooseX::Types::Common::Numeric
TYPES (subroutines)
Available types are listed below.
- PositiveNum
- PositiveOrZeroNum
- PositiveInt
- PositiveOrZeroInt
- NegativeNum
- NegativeOrZeroNum
- NegativeInt
- NegativeOrZeroInt
- SingleDigit
SEE ALSO
MooX::Types::MooseLike - a type builder.
MooX::Types::MooseLike::Base - a set of basic types.
MooX::Types::MooseLike::Email, MooX::Types::MooseLike::DateTime
AUTHOR
mateu - Mateu X. Hunter (cpan:MATEU) <hunter@missoula.org>
CONTRIBUTORS
amidos - Dmitry Matrosov (cpan:AMIDOS) <amidos@amidos.ru>
COPYRIGHT
Copyright (c) 2011-2015 the MooX::Types::MooseLike::Numeric "AUTHOR"
LICENSE
This library is free software and may be distributed under the same terms as perl itself.
Module Install Instructions
To install MooX::Types::MooseLike::Numeric, copy and paste the appropriate command in to your terminal.
cpanm MooX::Types::MooseLike::Numeric
perl -MCPAN -e shell install MooX::Types::MooseLike::Numeric
For more information on module installation, please visit the detailed CPAN module installation guide.