Bill Moseley <[EMAIL PROTECTED]> writes:

> To be clear, you mean it's not safe to use *both* $ua->timeout AND eval {
> alarm($timeout); ... } together?  If so, then how about using $ua->timeout
> on Windows and an eval {} block otherwise?
> 
> Or would you think it's unsafe to use alarm() at all when making a request?
> 
> Or just alarm() in general?

The last one.  alarm() sends a signal.  Perl can't catch any signals
reliably.

Reply via email to