Mystified once again by the documentation on "pack" which makes my brain hurt.

What I want to do is convert a number like 324789 into a string representation which is shorter and more mnemonic than "324789". E.g., convert it into hex and print the ASCII chars for each octet (??) Is there a quick and elegant way to do this?

Dave

dave hj~


In reply to pack question by dash2

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":