As for determining if something is a number, use Scalar::Util's looks_like_number() function. It's almost always accurate enough, and you don't have to maintain it. :-)
In reply to Re: Comparison based on type of value held by variables
by dragonchild
in thread Comparison based on type of value held by variables
by ranjan_jajodia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |