perl-number-compare 0.03 Numeric comparisons

Number::Compare compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested against.