WWW::Mechanize is a subclass of LWP, and its easier to use. | [reply] |
Really it depends on what you are trying to do. If you are getting a list of previously known urls (or a single resource), then LWP is probably better. However, if you are going to be browsing a site, looking at different pages to find things, filling out forms to get information or other more complicated things, then WWW::Mechanize is probably a better choice. Really, whichever makes it easier to accomplish what you are trying to do is probably the best choice.
| [reply] |
| [reply] |
As others have said, it really depends on what you're trying to do. If you'd like to download but a file, I'd go for LWP::Simple. If you were going to get into scraping, I'd highly recommend Web::Scraper, but if you want to navigate a site, click a few links and submit a form or two, yes, go for WWW::Mechanize.
| [reply] |