"According to management..." ... famous last words. ;-)

Courtney, we can't help you with the header because you haven't given a format. Given that, I'll just suggest that you need to figure out whether the bytes are in Little-Endian order or Big-Endian order, and how to handle the sign bit(s).

Do you have a sample output file that corresponds to an input buinary file? You need to know that you can verify your output.

I think we've given you a good start. From this point, it's a matter of you learning the Perl functions and syntax, and there are lots of pointers to get you there, including the Super Search functionality on this website.

Don Wilde
"There's more than one level to any answer."

In reply to Re^2: Converting Files by samizdat
in thread Converting Files by Courtney1306

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.