in reply to Re: forked die() in eval block has counterintuitive behavior?
in thread forked die() in eval block has counterintuitive behavior?
An unexpected child die() gets caught by a containing eval block that thinks it's just dealing with the parent.
The overall problem, then, is as you state -- not knowing that a fork() has happened. Is there a general way, then, to deal with this in evals? It seems that the casualness with which fork()s are issued in various places makes this problem endemic to the idiom of Perl...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: forked die() in eval block has counterintuitive behavior?
by samtregar (Abbot) on May 24, 2005 at 02:18 UTC |