I just remembered the hexdump utility in Unix for doing this sort of thing. You can probably try the Data::Hexdump or Data::Hexdumper if you want to do it through perl.
In reply to Re: dump text file in ASCII and hex
by ganeshk
in thread dump text file in ASCII and hex
by kevind0718
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |