Aug 9, 2000, 5:15 AM
Post #4 of 5
Looks like you're using LWP::Simple. LWP::UserAgent is more suited to greater manipulation of HTTP requests, but I believe you can export the $ua object from LWP::Simple by asking for it (use LWP::Simple qw( $ua );), and then applything the timeout() method to that.
See the documentation and/or do some experiment, or make the jump to the more powerful -- but more complex -- LWP::UserAgent.