Just feed it two hex characters and it returns the regular string character.@chars = (0..9, 'A'..'Z'); for (0..255) { $hex{$chars[int($_ / 16)].$chars[$_ % 16]} = chr($_); }
In reply to Re: Recreating a binary file from hex representation
by TedPride
in thread Recreating a binary file from hex representation
by choedebeck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |