in reply to Re: storing hex data in a file
in thread storing hex data in a file

Don't forget to use binmode() on your file handle if you're going to print out arbitrary values.