LNEDAD has asked for the wisdom of the Perl Monks concerning the following question:
I have a 3rd party application that I want to invoke, probably using backticks, from a Perl script. the application rights logs files for each command that is used to invoke the application.
In my Perl script I want to monitor the log file during the command execution and capture the output.
Is there a module for this? I see the steps in my Perl script as:
1. Start log file monitor.
2. Invoke 3rd party application.
3. wait for command to end.
4. stop log file monitor
5. write "new" data written to the log file when after step 1 above.