On Thu, 21 Feb 2008 10:06:14 +0900, gm gm <dtown22 / gmail.com> wrote: > From what I have read from google, the 'index' variable should be > independent between threads, but it seems that it is shared. The problem > may also be with the face that @agent is shared, but I am not sure 'index' is indeed independent here; @agent being shared, however, is very likely to cause problems. As far as I know, WWW::Mechanize agents are not safe for use by multiple threads. Each thread will need its own agent. -mental