mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
13 lines
501 B
Plaintext
13 lines
501 B
Plaintext
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: https://metacpan.org/release/Number-Compare
|