$ perl -MMath::BigInt -wle'print hex(Math::BigInt->new("0xbe91cfb586466d02"))' Integer overflow in hexadecimal number at -e line 1. Hexadecimal number > 0xffffffff non-portable at -e line 1. 9.18481776382103e+22