Skip navigation.
Home
Your source for Perl tips, howto's, faq and tutorials
( categories: )

Hi. I've got a string which is in hex format. Like this:

$hex_string = "4d414a523e576573742d622053544d2d31204d532d41495328434c45415229"

In 'normal' text this is "MAJR>West-b STM-1 MS-AIS(CLEAR)"

How do I easily print this?

I tried print hex $hex_string, but this converts to a number, so I get an Integer Overflow :(

Regards,

Leo