Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: LWP::UserAgent with HTTP::Cookies problems

by planetscape (Chancellor)
on Nov 09, 2005 at 00:41 UTC ( #506952=note: print w/replies, xml ) Need Help??


in reply to LWP::UserAgent with HTTP::Cookies problems

If possible, I would suggest using WWW::Mechanize, which subclasses LWP::UserAgent. This would afford you access to cookies and the other functions of LWP::UserAgent, only better and simpler; plus extensive examples (at least three of which use cookies) and many articles for reference. Nodes using WWW::Mechanize abound here on PM; Super Search will undoubtedly turn up much helpful information.

Update: Also, as Corion notes here, helpful modules such as HTTP::Recorder and WWW::Mechanize::Shell exist to help you automate the creation of your WWW::Mechanize scripts.

HTH,

planetscape
  • Comment on Re: LWP::UserAgent with HTTP::Cookies problems

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://506952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2021-03-07 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (119 votes). Check out past polls.

    Notices?