Dear Monks,
I wrote a Perl script (on my Mac) that executes a compiled (binary) C++ file, which output I later need to analyse with my Perl script. The binary file is printing the output I need on the terminal screen, but unfortunately it doesn't write it on a file. Is there any way for Perl to gather all that output data by accessing the terminal screen after the binary run is finished, and then either write it on a file or on a Perl data structure so I could use it later in my Perl program?
Many thanks.