You've got to start somewhere. "I don't know what I'm doing." is a cop out. You won't ever fix the engine if you refuse to open the hood and get your hands dirty. I'm going to try to explain why you're not getting a useful answer here, or in your StackOverflow post:

We have no idea what your programming background is, and without more information have no idea what help you need from us. The tone of the question suggests programming is a totally new concept for you. If that's the case, you'll need to start by learning to program, and could learn programming as you learn Perl. ...or it could be that you already know how to program, and even know Perl, but are just unfamiliar with things like LWP::Simple and HTML::TokeParser::Simple, or Mojo::UserAgent with Mojo::DOM. But whatever your background, you'll have to chart a course. Here's one road map. Decide where you are on the map, and get moving. Then come back and ask us when you have something concrete to ask.

  1. Learn the basics of programming.
  2. Learn baby-Perl. -- perlintro, perlsyn, perlsub, perlretut, and Learning Perl from O'Reilly.
  3. Learn to search for and install CPAN modules.
  4. Learn how to use LWP::Simple and HTML::TokeParser::Simple, or Mojo::UserAgent and Mojo::DOM.

The later steps will be rather trivial once you've gotten past the earlier steps, but the earlier steps might be more work than you're willing to commit to, if you just need to get the job done. If you're in that situation; just needing to get the job done without wasting time learning to be a programmer, you could hire someone who has taken the time to learn.

However, if you're actually interested in learning to program with Perl, dig in and enjoy! But start with "Hello world!" and gain enough familiarity with the basics that you'll know what to do when you get to the stage that you find yourself reading the POD for LWP::Simple.


Dave


In reply to Re: Strings & Patterns by davido
in thread Strings & Patterns 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.