Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: is_numericby Fletch (Bishop) |
on Apr 12, 2007 at 18:40 UTC ( [id://609724]=note: print w/replies, xml ) | Need Help?? |
Ooop, you're quite right. Perhaps perldata shouldn't mention strtod as a way to check for numerical-ness then. Of course if you're getting hex numbers as strings you're going to need to convert them (through POSIX::strtod or hex) anyhow before they're interpreted as the correct value so maybe it's kind of a corner case. Good point though.
In Section
Cool Uses for Perl
|
|