Hi All:
In one of my perl advertures, I have some binary data that comes to me from some CPAN library function which I store in a variable called $data
If I hexify this binary data with:
$hexstring = unpack "H*", $data;
It performs this function correct, I verified my results against the unix commands: od -c and xxd -p :-)
My question is how to I do the reverse operation to pack this data back into a $newdata variable ?
I have tried various attempts to "pack" but I don't seem to know how to pack this correctly. I am stumbling on something. :-)
Please help me to understand my packing errors ;-)
Thanks!