Dear Monks,

I have done a good bit of work cleaning up the 500+ preceding lines and "other" lines I don't need to end up with this. What I am left with are the 2 lines at the top (Title & Column headings) and the 2 lines at the bottom (Copyright info) and the important info in the middle (the body info). My body info is relatively consistent with the exception of the number of lines in the Document Description.

I am at a loss on the best way to get this into an array or even if an array is the best way to get to my ultimate goal of a simple plain text email report daily Below is a small snippet of the report I am working with the test lines will often be up to 4 lines deep (max), the order number (which ALWAYS follows the text field) is never ore or less than 7 characters and the two date fields are consistently in their proper date format. If any of that helps.

Daily Listing of Reports GW Posted Date CRS Publication Date Title Text 01/14/2009 12/09/2008 China-U.S. Relations: Current Issues and Implications for U.S. Policy RL33877 01/14/2009 12/31/2008 Greenhouse Gas Emission Drivers: Population, Economic Development and Growth, and Energy Use RL33970 01/14/2009 12/30/2008 School Construction, Modernization, Renovation, and Repair Issues: 110th Congress RS22894 © Copyright GalleryWatch.com, Inc. (1999 - 2009), provided under licen +se. NO CLAIM TO ORIGINAL U.S. OR STATE GOVERNMENT WORKS
Many thanks.
Jon

In reply to Getting From here to an Array by jseager

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.