Submitted by llagos on Tue, 11/22/2011 - 16:20.
( categories: perl questions )
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
