Note that looks_like_number() tells you exactly the same thing, just without all of the overhead. (:
- tye
In reply to Re^4: Detecting if a scalar has a number or string
by tye
in thread Detecting if a scalar has a number or string
by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |