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.
In reply to Re: Opening certain files
by Corion
in thread Opening certain files
by Dwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |