This also depends on your called program not buffering its output.open PROG,"program|" or die "Cannot fork"; while (<PROG>) { # do stuff... }
see perlopentut
In reply to Re: not waiting for external command to complete before getting the output
by Joost
in thread not waiting for external command to complete before getting the output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |