Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: regex for numbersby haukex (Archbishop) |
on Apr 07, 2021 at 19:12 UTC ( [id://11130968]=note: print w/replies, xml ) | Need Help?? |
So, eval alone isn't enough. ... and if the idea was to capture the numeric warnings, then Scalar::Util's looks_like_number provides the same functionality.
In Section
Seekers of Perl Wisdom
|
|