tech notes of yet another programmer
Friday, May 6, 2016
asciihex to hex in perl
Found great script on
stackoverflow
:
my $str = <>;
$str =~ s/(..)/chr(hex($1))/eg;
print($str);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment