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

Cookies are mentioned in WWW::Mechanize docs here. You might also try Super Search on perlmonks.org. There are examples.
  • Comment on Re^5: Script using WWW::Mechanize fails to log in