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.
In reply to Re^2: Doubled print with eval and open3
by ikegami
in thread Doubled print with eval and open3
by jlm17
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |