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"); };
In reply to Re: LWP timeout
by Jouke
in thread LWP timeout
by dchau
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |