Also see pack unpack, binmode and open.
In reply to Re: Create a Binary file using perl by Joost in thread Create a Binary file using perl by editi