I'm hoping the problem I'm requesting help with here makes sense. I posed this problem to a few of my collegues then watched the expressions on their faces change to the blue screen of death (not totally supprising considering they are no were close to being Perl guru's, or anything guru's).

I'm relativly new to Perl, and have never worked with flat file databases before.

I was given a flat file, pipe delimited database & need to generate reports based on the data said database. I'm having difficulty in determining the most efficient (but right now I'd settle for in-effecient if it gets the job done) way to sort through and pull out two entries from the database using a couple of search keys. I'll then format the data into a HTML based report in the fasion chosen by my PHB.

Any clues or tips would be better than Tylenol for my headache. Thanks


In reply to Flat file DB by Anonymous Monk

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.