http://www.perlmonks.org?node_id=273620


in reply to Re: Lack of LWP::SIMPLE information
in thread Lack of LWP::SIMPLE information

I popped in and edited it for you ... hope you don't mind. Normally i would wait for a consideration and a good number of 'edit' votes ... but in this case i saw no harm.

Regarding your question ... LWP::Simple is indeed simple to use (i searched for 'redirect' in the POD and found no match), so simple that what you want may indeed not be there. In the past, i used LWP and Co. for serious web bots ... these days i just WWW::Mechanize (check out WWW::Mechanize::Shell as well). They make writting web bots fun again. ;)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on (jeffa) 2Re: Lack of LWP::SIMPLE information

Replies are listed 'Best First'.
Re: (jeffa) 2Re: Lack of LWP::SIMPLE information
by Wassercrats (Initiate) on Jul 12, 2003 at 13:31 UTC
    Thanks for the edit! WWW::Mechanize sounds familiar. I'm barely a Perl programmer, and I'm almost done with a complex perl script that I'd rather not re-work, but I'll read up on Mechanize. I'm wondering... since LWP::SIMPLE can get the page that has the redirect code in it, maybe I should write a redirect routine myself... on the other hand I'd like to adjust the timeout, which I don't think LWP::Simple allows.