title: handle lwp timeout effectively
body: <p>I am using LWP to download content from web pages, and I would like to limit the amount of time it waits for a page. This is accomplished in lwp like this:</p>
  
  <pre><code>my $ua = LWP::UserAgent-&gt;new;
  $ua-&gt;timeout(10);
  $ua-&gt;get($url);
  </code></pre>
  
  <p>And this works fine, except for whenever the timeout reaches its limit, it just dies and I can't continue on with the script! I'd really like to handle this timeout properly so that I can record that the url had a timeout and then move on to my next one. Does anyone know how to do this? Thanks!</p>