Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Complex and reliable signal handling.

by vsespb (Hermit)
on May 31, 2013 at 19:30 UTC ( #1036303=note: print w/ replies, xml ) Need Help??


in reply to Re: Complex and reliable signal handling.
in thread Complex and reliable signal handling.

I guess that your entire program is a bit more complex than the bits you posted.
yes, treat it as pseudocode. I can't create proof-of-concept code.
Perhaps a $SIG{__DIE__} handler would reveal more:
Yes, yo're right. fold_constants mostly happens, when child terminated with exception. However. All 'die's are inside eval (you can see eval in pseudocode). After eval caught, program executes dump_error() and exits (this way I see all errors) Also I did not see the panic, until I installed signal handlers into "children" code above.


Comment on Re^2: Complex and reliable signal handling.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-07-03 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls