I've had trouble initializing LWP::UserAgent timeouts
when the ua object is created (i.e.
my $ua = LWP::UserAgent->new(timeout => 30);) But have had
better luck setting the timeout somewhere outside of the new call:
my $ua = new LWP::UserAgent();
$ua->timeout(30);
Of course your mileage may vary....
-Blake