Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Alarm firing immediately instead of waiting for timeout

by 1arryb (Acolyte)
on Dec 15, 2011 at 17:04 UTC ( [id://943789]=note: print w/replies, xml ) Need Help??


in reply to Alarm firing immediately instead of waiting for timeout

Hi gator,

Are you sure that the alarm is the only way your eval block can die? Right now you are logging a "timeout expired" message regardless of what really happened. Try logging the value of $@ and see what you get.

Cheers,

Larry

  • Comment on Re: Alarm firing immediately instead of waiting for timeout

Replies are listed 'Best First'.
Re^2: Alarm firing immediately instead of waiting for timeout
by gator2003 (Initiate) on Dec 15, 2011 at 19:03 UTC
    Ugh. Thank you for noticing that I left $@ out. Sure enough, there was a typo that didn't cause a warning/error in compile but caused a weird crash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 01:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found