in reply to LWP timeout
So you first set the timeout to 45 seconds and afterwards you connect the 'ALRM' signal to a subroutine that deals with what to do with it...$ua -> timeout(45); $SIG{'ALRM'} = sub { die ("Timeout after 45 seconds"); };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: LWP timeout
by arhuman (Vicar) on Apr 02, 2001 at 18:17 UTC |