in reply to WWW:Mechanize and Cookies

Try this:
use HTTP::Cookies; $agent->cookie_jar(HTTP::Cookies->new);

Replies are listed 'Best First'.
Re^2: WWW:Mechanize and Cookies
by Anonymous Monk on Apr 01, 2009 at 01:11 UTC
    WWW::Mechanize creates a cookie_jar like that by default.
      It hasn't always done that, and there could be a problem with it. Doing it explicitly helps debug.
        You're correct
        0.35 January 22, 2003 [ENHANCEMENTS] * Now creates an internal cookie_jar by default.
        I much prefer
        use WWW::Mechanize 1;