in reply to How turn a huge decimal number to binary
Use tilly's Math::Fleximal. And if you are curious how it accomplishes it, then read the source code (it implements its own whatever-number-base "big int" library).
- tye