how about ($x+0 eq $x) (rather untested)
On Oct 18 Selector, Lev Y wrote: >I have a (simple) Perl question. >Is there a standard function in perl which can tell me >if a string represents a valid number? >(including integer, with decimal point and scientific notaion with "e"). > >Of course, I can write one myself.
