use Scalar::Util qw(looks_like_number); if (looks_like_number($your_number)) { do something; }
In reply to Re: Checking whether a value is numeric or not
by hda
in thread Checking whether a value is numeric or not
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |