Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^2: Fetching Madness

by jlongino (Parson)
on Mar 11, 2009 at 20:34 UTC ( #750015=note: print w/replies, xml ) Need Help??

in reply to Re: Fetching Madness
in thread Fetching Madness

It looks as though Lincoln A Baxter was right about the Perl 5.8.0 SIG ALRT situation. I modified my code to time out, and it did--until I realized it only times out correctly if the program hasn't "hung" yet. After setting the timeout to 60 seconds for example, the program hangs before the 60 second limit and the timeout won't occur.

Next I'll test the Sys::SigAction solution to see if it works.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://750015]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2016-10-26 18:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (345 votes). Check out past polls.