Hi All, I am calling many "C" programs from my perl script. I want to log output of each of these "C" programs in DIFFERENT log files as well as I want to display this output to STDOUT.
Please send me your sugesstion how to do this. Please note that I have already tried using 1. IO::Tee: In this case, I get handle to tee, but I am not able to redirect the STDOUT to this handle. 2. Perl pipe i.e. open(STDOUT, "| $sFile"). In this case, I am not able to close the fiel $sFile or STDOUT after one programm execution is completed in PERL script. Because of this, log file has output of all the programs, which are executed after opring this pipe. Thanks and regards Ambikesh -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>