http://www.perlmonks.org?node_id=644226


in reply to How to convert binary to hexadecimal

What have you tried so far?

The perlfaq4 lists various conversions, for example from binary to decimal and from decimal to hexadecimal. Why don't you combine those two steps to form a direct conversion from binary to hexadecimal?

I found the answers by using

perldoc -q convert