Here is my problem. I am writing a perl script which calls a cshell script (using system() ) that(1) expects input from the user and (2) writes to stdout.
I would like to be able to allow the user to interact with the script normally, while also logging output to a file. The typical io redirects don't seem capable of this. Any help would be greatly appreciated.
I would like to be able to allow the user to interact with the script normally, while also logging output to a file. The typical io redirects don't seem capable of this. Any help would be greatly appreciated.