sub isnum ($) { return 0 if $_[0] eq ''; $_[0] ^ $_[0] ? 0 : 1 }
In reply to Re^2: How to check if a scalar value is numeric or string?
by ibravos
in thread How to check if a scalar value is numeric or string?
by bgupta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |