in reply to Infinity recognized as number
The point is that now you can compare numbers even if a calculation yields infinity: (try $exponent = 10000)
if (2 ** $exponent > $threshold) {
do_sth();
}
without getting a "non-numeric value" error. See http://bumppo.net/lists/fun-with-perl/2001/06/msg00031.html
|
|---|