I am given a program in which when it is called, the user can type on the shell and some formatted text would be ouput by the program to the shell.
My task is to build an 'intermediate' script that can call the forementioned program, allow the user to type on the shell, read the program's output, modify and output the new formatted texts.
The purpose of this is to change the output interface of the previous program to cope with a newer version of the entire system.
It does not sound like a very complicated task but I am quite new to Perl. And I am stuck with the (calling, allowing the user to input and reading the program's output) part.
Any help would be greatly appreciated!!
My task is to build an 'intermediate' script that can call the forementioned program, allow the user to type on the shell, read the program's output, modify and output the new formatted texts.
The purpose of this is to change the output interface of the previous program to cope with a newer version of the entire system.
It does not sound like a very complicated task but I am quite new to Perl. And I am stuck with the (calling, allowing the user to input and reading the program's output) part.
Any help would be greatly appreciated!!