Without a hook to the internal API, the only real solution is to try to use it as a number and see if Perl complains.
In reply to Re (tilly) 1: Checking whether a $var is a number
by tilly
in thread Checking whether a $var is a number
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |