in reply to Re: Creating a binary file problemin thread Creating a binary file problem
print BIN pack('C', hex($hex)); [download]