I also still have a check for $@, since I suspect that it would be set if the fork() failed.
Yes, but *after* if !$pid, because you only want to do that in the parent.
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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |