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


in reply to Passing a cookie with LWP::UserAgent

My guess is that you're not creating the cookie jar in the right manner. I don't think it accepts "name => value" pairs. You need to create a HTTP::Cookies object and use that in LWP's cookie_jar method. Then you can maybe use set_cookie to create a cookie.

  • Comment on Re: Passing a cookie with LWP::UserAgent

Replies are listed 'Best First'.
Re^2: Passing a cookie with LWP::UserAgent
by Anonymous Monk on May 11, 2010 at 14:52 UTC