A little disambiguation is needed:

Are you asking how to accept data through a web form (CGI) or how to scrape the data from a webpage (spidering / screen scraping)?

After the data-gathering stage, do you need help learning how to use DBI?

For the first part, if you're trying to write a CGI script, use the CGI module. Its documentation will give you a start. I also really recommend the second edition of the O'Reilly mouse book: CGI Programming with Perl. You'll get through it in two or three days (maybe faster), and it will go a long way toward getting you going. Ovid's CGI tutorial is also helpful: http://users.easystreet.com/ovid/cgi_course.

On the other hand, if you are screen scraping and want to dump that into a database, I recommend the WWW::Mechanize module. Read its documentation, and you should be 99% ready to get started.

For the next step, you need the DBI module, along with a DBD module that targets your particular database. You can try to start by reading the DBI documentation, though I found it almost necessary to read the O'Reilly book "Programming the Perl DBI". I also found my SQL skills lacking, and had to do a fair amount of reading in that regard too.

Hope this helps...


Dave


In reply to Re: looking for a good tutorial by davido
in thread looking for a good tutorial by Thargor

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.