in reply to Pack or unpack dropping a nibble

All,

Nevermind, as I solved it on my own. The line where I convert it to binary also contained another pack command to convert to hex. Well, the $data variable already contains hex-formatted data, so it wasn't necessary.

Cutting and pasting someone else's code never works, if you don't know what it is doing in the first place....

Joe