in reply to Re: Checking whether a $var is a number
in thread Checking whether a $var is a number

Interesting, it looks like this works, but they return 'inf' and 'nan' instead of the longer capitalized versions above.
% perl -le "print 1 + 'NaN'" nan % perl -le "print 1 + 'Infinity'" inf

-Blake