Hex Dump with Perl Scripting

Want to Hex Dump with Perl? This snippet (not my own code), was too good to let vanish.

This script uses sprintf to format the chunks of data, and pack/unpack functions to convert to Hex.

I am saving this Perl Hex Dump Script in case you might need it – but if you want Custom Perl Scripting please contact us.

Run it by calling the script with the single argument of the file you want to hex dump in Perl:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.