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


in reply to Re^4: Using WWW::Scripter with NTLM authentication
in thread Using WWW::Scripter with NTLM authentication

Hrm, I hadn't realized that WWW::Mechanize::FAQ says that

Mech keeps a history of every page, and the state it was in. It actually keeps a clone of the full Mech object at every step along the way.

So, there's a clone for each step. I'm kind of in over my head here but I don't see anything wrong with your workaround, as long as you're not sending requests from a bunch of different threads or something silly like that.

  • Comment on Re^5: Using WWW::Scripter with NTLM authentication