Re: calling another perl program and printing output in real time

2002-04-02 Thread Jenda Krynicky
From: Roy Peters <[EMAIL PROTECTED]> > I have 2 independent perl programs p1 and p2. p1 calls p2 (using > either the system() or `` operators, and p2 will print out status > information every 2 seconds or so. How do I set it up such that > whenever p2 prints out data, it is print

Re: calling another perl program and printing output in real time

2002-04-01 Thread drieux
http://www.wetware.com/drieux/CS/lang/Perl/Beginners/p1_read_p2.txt On Monday, April 1, 2002, at 02:49 , Roy Peters wrote: > Hello, > > I have 2 independent perl programs p1 and p2. p1 calls p2 (using either > the > system() or `` operators, and p2 will print > out status information every 2 s

calling another perl program and printing output in real time

2002-04-01 Thread Roy Peters
Hello, I have 2 independent perl programs p1 and p2. p1 calls p2 (using either the system() or `` operators, and p2 will print out status information every 2 seconds or so. How do I set it up such that whenever p2 prints out data, it is printed out by p1 also IN REAL TIME? Thanks. =