![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: Is A Numberby LanX (Sage) |
on Dec 17, 2021 at 15:41 UTC ( #11139688=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: Even better ... it's core. So no need to install anything.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|