in reply to Re^5: IPC::Open3 woes
in thread Re^4: IPC::Open3 woes

Thanks Corion, Is there a way to make it interactive to get the contents of HIS_OUT and HIS_ERR after each execution of the while loop?

Replies are listed 'Best First'.
Re^7: IPC::Open3 woes
by Corion (Patriarch) on May 25, 2010 at 09:44 UTC

    What do you mean by "make it interactive" ?

      I want to use the conents of both those file handles after each loop, dump the contents into an output file and then make them empty and continue with the next iteration.

        So, why don't you just do that? Where exactly are you having problems? You can read from the file handles line by line and output each line as you've read it.