in reply to looking for a good tutorial
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: looking for a good tutorial
by Thargor (Scribe) on Feb 23, 2005 at 18:14 UTC | |
by davido (Cardinal) on Feb 23, 2005 at 18:23 UTC |