We cannot provide a thorough and accurate answer (short of getting lucky in guessing) without knowing more about your data set. Why don't you post the contents of, say, five of the elements in @arr, rather than partially describing the field names.

Be sure to wrap this sample data in code tags so that we can see if there are useful patterns such as fixed-width field sizes.

Also explain how a person looking at the data should differentiate between the fields; are they separated by white space? Are they separated by commas? Are delimiters allowed within the fields too? If so, how does escaping work? Does this data format have a name that we might recognize, or was it produced by a commonly known source (which saves you a little work in describing it)?

We don't know what you're working with unless you tell us, and if we don't know what you're working with, we don't know how to show you to work with it.


Dave


In reply to Re: hey monks by davido
in thread creating a LINK by lucifersmith

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.