Hello all,

I posted a question the other day wanting to write 2 pipes to the same file. 
  While I cannot do that, I'd like to do something else.

I have 2 pipes with streaming data and I need them written to different 
files at the same time.  I have this:

open(PIPE1, "streaming stuff....");
open(PIPE2, "streaming stuff....");

while(<PIPE1>) {
       #write to file1.txt
}
while(<PIPE2>) {
       #write to file2.txt
}

This makes PIPE2 wait for PIPE1 to finish writing to file1.txt before it 
writes anything to file2.txt for PIPE2's data.

I want these files to be writing data at the same time.....any one have 
ideas?

Thanks,
Kevin

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to