Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to determine a variable value is a numberby Cine (Friar) |
on Aug 03, 2002 at 01:04 UTC ( [id://187261]=note: print w/replies, xml ) | Need Help?? |
Replace ???? with /^[+-]?\d+$. Remove the [+-]? if you dont have a prefix sign.
T I M T O W T D I
In Section
Seekers of Perl Wisdom
|
|