Michael Kingsbury wrote: > I'm trying to figure out the best way to go about this. I have an > operation that takes some time that has to be done to every file. > Certain files then go through operation #2, which takes even longer. > I want to somehow fork off number two so that operation number one can > proceed. Multiple instances of operation #2 won't help much, so I > was thinking about just forking once, and somehow passing information > to the second task. > > What would be the best way about passing information between the two? > > And to make this less easy, its on Win32....
How about writing two Perl programs, with op1.pl piping the names of files it has processed to op2.pl. You'd need autoflush on and a newline after each filename. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]