note
IlyaM
<i>LWP::Simple is just that. Simple. It will hang if it can open a socket to a server but the server then plays dead and does not respond. LWP::UserAgent is much more sophisticated with its timeouts and will return if it times out.......</i>
<p>
This is quite wrong. LWP::Simple is just a wrapper on top of LWP::UserAgent so it behaves exactly same way as LWP::UserAgent concerning timeout handling. The only exception is that LWP::Simple always uses default timeout value (180 seconds) and with LWP::UserAgent timeout can be set.
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-127307">
<p>
<font color="grey" size="-2">
--<br>
Ilya Martynov, <a href="mailto:ilya@iponweb.net">ilya@iponweb.net</a><br>
CTO IPonWEB (UK) Ltd<br>
Quality Perl Programming and Unix Support
UK managed @ offshore prices - <a href="http://www.iponweb.net">http://www.iponweb.net</a><br>
Personal website - <a href="http://martynov.org/">http://martynov.org</a><br>
</font>
</div></div>
368319
368344