2003-05-19 17:31:58 +02:00
|
|
|
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
|
|
|
|
|
2018-05-27 22:15:16 +02:00
|
|
|
WWW: https://metacpan.org/release/Number-Compare
|