in reply to Re: Doubled print with eval and open3
in thread Doubled print with eval and open3
The open3 doesn't throw an exception so the eval doesn't catch it.
If that's true, why is "Error, Could not executed" printed. That's part of the exception handler.
If that's true, does that mean the following passage from IPC::Open3's docs is wrong?
open3() returns the process ID of the child process. It doesn't return on failure: it just raises an exception matching /^open3:/. However, exec failures in the child are not detected. You'll have to trap SIGPIPE yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Doubled print with eval and open3
by GrandFather (Saint) on Mar 06, 2007 at 00:33 UTC | |
by ikegami (Patriarch) on Mar 06, 2007 at 00:52 UTC |