pkgsrc/math/p5-Number-Tolerant/DESCR
sno 6379746940 Adding package for CPAN distribution Number-Tolerant version 1.701 into
math/p5-Number-Tolerant.

Number::Tolerant creates a number-like object whose value refers to a
range of possible values, each equally acceptable. It overloads
comparison operations to reflect this.

I use this module to simplify the comparison of measurement results to
specified tolerances.

    reject $product unless $measurement == $specification;
2013-07-03 13:58:39 +00:00

8 lines
327 B
Text

Number::Tolerant creates a number-like object whose value refers to a
range of possible values, each equally acceptable. It overloads
comparison operations to reflect this.
I use this module to simplify the comparison of measurement results to
specified tolerances.
reject $product unless $measurement == $specification;