in reply to How can I login to get data from a webpage?

In addition to the code sample from tinman, check out CPAN's LWP, LWP::UserAgent, LWP::AuthenAgent.

Also, there are other nodes which may be of help here on PerlMonks that can help, too: 1, 2, or the general UserAgent search results.

These may give you a few pointers and more examples of ways to access the sites, whether or not the site is using cookies for login.

  • Comment on Re: How can I login to get data from a webpage?