Re: lwp & post



On Fri, Feb 22, 2008 at 10:34 AM, Pat Rice <patrick.j.rice@xxxxxxxxx> wrote:

I am atempting to get a log in with post, I have loooked in the from and it
uses post, hence using the post to log in, Where I'm confused is when i
print the $response->content I get the orignal page back, but what I want to
do is log in.

You probably want to use WWW::Mechanize instead of LWP. What you want
to do may be similar to one of the examples, in fact.

http://search.cpan.org/~petdance/WWW-Mechanize/
http://search.cpan.org/~petdance/WWW-Mechanize/lib/WWW/Mechanize/Examples.pod

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training
.