in reply to Enabling timeout method in LWP::UserAgent
The above code is untested btw.#!/usr/bin/perl use Crypt::SSLeay; use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout(3); my $response = $ua->get('https://66.11.78.112'); #.... and so on
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Enabling timeout method in LWP::UserAgent
by dReKurCe (Scribe) on Jul 27, 2005 at 22:30 UTC | |
by marto (Cardinal) on Jul 27, 2005 at 23:21 UTC | |
by pg (Canon) on Jul 28, 2005 at 01:57 UTC | |
by marto (Cardinal) on Jul 28, 2005 at 08:09 UTC | |
by dReKurCe (Scribe) on Jul 28, 2005 at 04:13 UTC |