Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Regex to check for very large negative numbersby igelkott (Priest) |
on Feb 22, 2013 at 10:13 UTC ( [id://1020122]=note: print w/replies, xml ) | Need Help?? |
Obviously good approach but wouldn't a regex be more appropriate in this case? Whether it's moritz's negative check (as the OP requested) or BillKSmith's positive approach, it seems better to avoid interpretation of a huge number that won't be needed anyway.
In Section
Seekers of Perl Wisdom
|
|