in reply to Enable cookie

LWP::UserAgent does by default "enable cookies" so whatever that error message means its not coming from LWP::UserAgent

Probably, the website tries to set the cookie through javascript, which won't work with LWP

as LWP and Mechanize doesn't deal with javascript as documented

Re: WWW Mechanize FAQ!!!, The State of Web spidering in Perl, Re: Seek Perl equivalent to DOM Inspector (js pipe dream), WWW::Mechanize::FAQ

Replies are listed 'Best First'.
Re^2: Enable cookie (WWW::Mechanize)
by Anonymous Monk on Jan 28, 2014 at 00:33 UTC

    Bah, I was wrong, LWP doesn't do a cookie jar by default, thats what WWW::Mechanize does, and one of the reasons I use WWW::Mechanize by default

    WWW::Mechanize is convenient like that :)