in reply to Re: Script using WWW::Mechanize fails to log in
in thread Script using WWW::Mechanize fails to log in

I initialized the agent variable, but it still doesn't work. I was just playing around and wondering whether cookies were the reason that it wasn't working and accidentally posted it to perlmonks. Anything else that you see that might cause it not to work? Do i have to use cookiejar?
  • Comment on Re^2: Script using WWW::Mechanize fails to log in

Replies are listed 'Best First'.
Re^3: Script using WWW::Mechanize fails to log in
by Joost (Canon) on Jun 08, 2006 at 10:00 UTC
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^3: Script using WWW::Mechanize fails to log in
by arkturuz (Curate) on Jun 08, 2006 at 08:11 UTC
    You need cookies for later authentication, after you succesfully log in. Also, I believe that you must initialize cookies in WWW::Mechanize object.
      Dear Arkturuz, Thank you -- I'd like to try that. Why doesn't WWW::Mechanize mention that? Any good links on this that I can look up or examples I can copy? I need to get this program working for my boss before I go into labor and yesterday was my due date!
        Cookies are mentioned in WWW::Mechanize docs here. You might also try Super Search on perlmonks.org. There are examples.