in reply to open a binary file for hexadecimal manipulation
Are you sure you don't actually want a hex editor? You can manipulate binary directly with perl. Hex is just human readable binary and if you plan on programatically manipulating it why bother converting to and from a human readable form? You may find Pack/Unpack Tutorial (aka How the System Stores Data) useful, especially if you have structured binary data.
|
|---|