in reply to $mechanize->get($url) connexion timeout stalls my script

You can set timeout by passing timeout parameter to WWW::Mechanize->new. But if you have to process a lot of URLs it is better to perform several requests in parallel. You may do this using threads or using something like AnyEvent::HTTP (I personally prefer the later).