V
volantecho
Hi,
Code :
$string = "0041";
$hexcode = '\x{'.$string.'}';
$hexcode2 = "\x{0041}";
use Data::Hexdumper;
$hexcode = hexdump(data=>$hexcode);
print $hexcode; # show \x{0041}
print $hexcode2; # show A
What can i do to make $hexcode shown as $hexcode2?
Thanks for every comments
Code :
$string = "0041";
$hexcode = '\x{'.$string.'}';
$hexcode2 = "\x{0041}";
use Data::Hexdumper;
$hexcode = hexdump(data=>$hexcode);
print $hexcode; # show \x{0041}
print $hexcode2; # show A
What can i do to make $hexcode shown as $hexcode2?
Thanks for every comments