in reply to Converting Files

For the input side, I've had good success in using the unpack function (see also pack) for unpacking the data. As you haven't told us what format your data is in, we can't help you there. Most likely you will want to read binmode too.