XP is just a number | |
PerlMonks |
Re: Is A Numberby hippo (Bishop) |
on Dec 17, 2021 at 15:24 UTC ( [id://11139687]=note: print w/replies, xml ) | Need Help?? |
If you are just looking for an elegant, ready-made solution then Scalar::Util::looks_like_number fits the bill:
🦛
In Section
Seekers of Perl Wisdom
|
|