in reply to Hex to decimal resulting in integer overflow
Update:On v5.8.9 built for MSWin32-x86-multi-thread I can get the warning you are citing. Specifically, perl -e "print hex('24d0e803adb7')" outputs
Integer overflow in hexadecimal number at -e line 1. 40479664352695
This can actually be suppressed with a no warnings declaration, though I'd make sure that the math is still being respected:
{ no warnings; $hex="24d0e803adb7"; $dec=hex($hex); }
|
|---|