![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re: Eval/Fork lesson of the dayby graff (Chancellor) |
on May 15, 2002 at 03:45 UTC ( #166644=note: print w/replies, xml ) | Need Help?? |
... I'm definitely going to be in the habit of putting all forked code in some sort of eval block to make sure that I can
safely wrap the forking code in another eval block...
... or maybe you'd look for other ways to get the job done without having to use "eval { ...fork... }" in the first place. I'm no jedi when it comes to fork, but I know it well enough to respect it, and this is the first time I've seen anyone put a fork call inside an eval block. Just curious... what situation could make this a preferred approach?
In Section
Meditations
|
|