in reply to Perl binary file

The hardest part of this task is determining exactly what you need. I suggest that you write a program in "C" that writes a sample file. Verify that this file can be read correctly. When you have a working sample, examine it with a hex editor to answer several questions. Are there any extra characters in the file (e.g. newlines)? Is your understanding of "single" and "double" precision correct? Is the data "big endian"? Are the "nibbles" swapped within each byte? Given the answers to these questions, it should not be hard to write the correct format for 'pack'. Now try to write the same data with perl. Examine the output file with your hex editor. It should be identical to the one you made with "C". If not, how is it different? If you still need help, post the hex dumps of the two files. It probably would help if you also post the "C" and perl programs you used to create them.
Bill