in reply to pack hex to bin

Since the immediate question has already been answered, you should know that you aren't alone in your ignorance of pack. Seek enligntenment at Confession of a Perl Hacker.

-Blake