in reply to Inexplicable ECHILD
The weird part is that the die at the end actually executes. How can this be?Because you're using $! when it isn't meaningful. $! is only meaningful right after a failure in a system call. Anything else may set $! to whatever it wants. Only use $! right after a failing system call.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inexplicable ECHILD
by ikegami (Patriarch) on Aug 11, 2010 at 16:18 UTC | |
|
Re^2: Inexplicable ECHILD ($!)
by tye (Sage) on Aug 11, 2010 at 16:12 UTC |