in reply to Opening certain files
Basically, you read a number of bytes from the file, and then unpack the values from the data read. Knowing how many bytes to read involves manual computation, as Perl doesn't know, what C compiler/struct alignment were used. If you want total overkill, there is Convert::Binary::C, which can talk to your C compiler and ask it.
|
|---|