Are you learning Perl, or are you seeking a fully written script? If it's the former, please specify what part of the problem you are stuck on. We're glad to help with specific stumbling blocks. But if it's the latter, and you are just requesting that someone write the script for you, you're at the wrong place, and might have better luck at a for-pay site such as http://answers.google.com, or by hiring someone at http://jobs.perl.org.

To learn how to accomplish the task you're discussing, I would recommend picking up a copy of the Llama book, from O'Reilly & Associates, Learning Perl, by Randal Schwartz. Just about everything you're asking is addressed in that book, and it will take you only a few days to get through it. If you're intent on learning Perl, that's a minimal investment of time, but worthwhile, and practically a requirement before you can get to a point where you find yourself actually learning Perl rather than staring blankly at scripts others have written. You will also find a lot of good information in the Plain Old Documentation (POD) that comes with Perl:

I hope that's enough to get you started. Let us know when you run into something for which you need further clarification.


Dave


In reply to Re: Extracting from Multiple Files by davido
in thread Extracting from Multiple Files by maxcw

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.