http://qs1969.pair.com?node_id=798603


in reply to long integer to hexadecimal conversion

bigint / Math::BigInt are core modules, and do what you want.