in reply to Re^4: IPC::Open3 woes
If you want the output earlier, don't read it into memory all at once.
@outlines = <HIS_OUT>;
will read the output all at once.
You can try using a while loop:
while (defined (my $line = <HIS_OUT>)) { chomp; print "Read: '$line'\n"; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: IPC::Open3 woes
by ajayguptab (Initiate) on May 25, 2010 at 09:43 UTC | |
by Corion (Patriarch) on May 25, 2010 at 09:44 UTC | |
by ajayguptab (Initiate) on May 25, 2010 at 09:47 UTC | |
by Corion (Patriarch) on May 25, 2010 at 09:49 UTC | |
by ajayguptab (Initiate) on May 25, 2010 at 09:53 UTC | |
|