summaryrefslogtreecommitdiff
path: root/math/p5-Number-Compare/pkg-descr
blob: 7f57c1db810542ce34a00457db1d58d7b20eac0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Number::Compare compiles a simple comparison to an anonymous subroutine,
which you can call with a value to be tested again.

Now this would be very pointless, if Number::Compare didn't understand
magnitudes.

The target value may use magnitudes of kilobytes (k, ki), megabytes (m,
mi), or gigabytes (g, gi).  Those suffixed with an i use the appropriate
2**n version in accordance with the IEC standard:
http://physics.nist.gov/cuu/Units/binary.html

WWW: http://search.cpan.org/dist/Number-Compare/

-- Sergey Skvortsov
skv@FreeBSD.org