Friday, July 12, 2019

Perl: Convert hex string to the character


my $hx = "41";
my $ch = chr(hex($hx));
print $ch;


The output will be:
A

No comments:

 
Get This <