1Declare::Constraints::SUismeprleCD:oe:ncLtlirabirrbeau:rt:yeC:do:nNPsuetmrrelariiDncotacslu:(m:3eS)nitmaptlieo:n:Library::Numerical(3)
2
3
4

NAME

6       Declare::Constraints::Simple::Library::Numerical - Numerical Con‐
7       straints
8

SYNOPSIS

10         # test for number-conformity
11         my $looks_like_number = IsNumber;
12
13         # only integers
14         my $is_int = IsInt;
15

DESCRIPTIONS

17       This library contains the constraints needed to validate numerical val‐
18       ues.
19

CONSTRAINTS

21       IsNumber()
22
23       True if the value is a number according to Scalar::Utils
24       "looks_like_number".
25
26       IsInt()
27
28       True if the value is an integer.
29

SEE ALSO

31       Declare::Constraints::Simple, Declare::Constraints::Simple::Library
32

AUTHOR

34       Robert 'phaylon' Sedlacek "<phaylon@dunkelheit.at>"
35
37       This module is free software, you can redistribute it and/or modify it
38       under the same terms as perl itself.
39
40
41
42perl v5.8.8                Declare2:0:0C6o-n0s9t-r1a1ints::Simple::Library::Numerical(3)
Impressum