open(my $FROM_CHLD, '-|', 'programOfInterest') or die; while (<$FROM_CHLD>) { print("LINE: $. Val $_"); }
The child may decide to buffer its output. The child may be convinced not to buffer its output if you use a pseudo tty.
In reply to Re: output external program results at runtime
by ikegami
in thread output external program results at runtime
by simo_mon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |