1Number::Tolerant::ConstUasnetr(3C)ontributed Perl DocumeNnutmabteiro:n:Tolerant::Constant(3)
2
3
4

NAME

6       Number::Tolerant::Constant - a blessed constant type
7

VERSION

9       version 1.710
10

SYNOPSIS

12        use Number::Tolerant;
13        use Number::Tolerant::Constant;
14
15        my $range  = tolerance(10);
16        ref $range; # "Number::Tolerant" -- w/o ::Constant, would be undef
17

DESCRIPTION

19       When Number::Tolerant is about to return a tolerance with zero
20       variation, it will return a constant instead.  This module will
21       register a constant type that will catch these constants and return
22       them as Number::Tolerant objects.
23
24       I wrote this module to make it simpler to use tolerances with
25       Class::DBI, which would otherwise complain that the constructor hadn't
26       returned a blessed object.
27

PERL VERSION

29       This library should run on perls released even a long time ago.  It
30       should work on any version of perl released in the last five years.
31
32       Although it may work on older versions of perl, no guarantee is made
33       that the minimum required version will not be increased.  The version
34       may be increased for any reason, and there is no promise that patches
35       will be accepted to lower the minimum required perl.
36

AUTHOR

38       Ricardo Signes <cpan@semiotic.systems>
39
41       This software is copyright (c) 2004 by Ricardo Signes.
42
43       This is free software; you can redistribute it and/or modify it under
44       the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.36.0                      2023-01-20     Number::Tolerant::Constant(3)
Impressum