The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Number::Tolerant::BasicTypes -- basic built-in tolerance types

VERSION

version 1.44

 $Id: /my/cs/projects/tolerant/trunk/lib/Number/Tolerant/BasicTypes.pm 18115 2006-01-27T01:51:05.875783Z rjbs  $

SYNOPSIS

 use Number::Tolerant;

 my $range  = tolerance(10 => to => 12);
 my $random = 10 + rand(2);

 die "I shouldn't die" unless $random == $range;

 print "This line will always print.\n";

DESCRIPTION

This module is used by Number::Tolerant to configure its basic built-in tolerance types.

TODO

SEE ALSO

AUTHOR

Ricardo SIGNES, <rjbs@cpan.org>

COPYRIGHT

(C) 2004, Ricardo SIGNES. Number::Tolerant is available under the same terms as Perl itself.