use Mode::Rant;

This question appears to lack any effort whatsoever. You've simply pasted your data file, and pasted your entire script, with a few lines of explanation in between. You haven't explained what you did to narrow down the problem, what the problematic behavior is ("does not work" is not very helpful), or even taken a wild guess at what could be wrong.

Based on this, it seems to me that you want the Perl Monks to do your work for you. I know this happens often. There are plenty of Monks who are so bored, or so willing to show off, that they'll do a lot of free work for someone. Heck, I'm guilty of it myself. But I think it would be in your best interest to put forth some effort of your own. You will find the responses are quicker, better, and might actually lead you to solve your own problem (rather than waiting for someone to solve it for you).

I have a feeling you will ignore this reply, but I hope you don't. Nothing would make me happier than to see you solve your own problem. Then perhaps you would begin to help others at the Monastery in return. Thus the entire community would grow stronger. I am sorry to say that I doubt it will happen, but it would be a happy turn of events if it did.


In reply to Re: Flat file handling by revdiablo
in thread Flat file handling by Win

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.