in reply to Re^2: file parsing help
in thread file parsing help

In addition to BrowserUk's suggestion re: pack and unpack, I also recommend Pack/Unpack Tutorial (aka How the System Stores Data) and perlpacktut.

HTH,

planetscape