File: README

package info (click to toggle)
libmoox-types-mooselike-numeric-perl 1.03-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 88 kB
  • sloc: perl: 77; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,134 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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.