Hi Folks,
I have an executable. when run it behaves in the same way as an SQL Developer. A prompt comes at which point the user has to enter the sql query and the corresponding output is displayed on the screen.
I can run the executable from the perl script using the system command. But how to enter the sql query when the prompt appears on the screen through the script.
As another system command would obviously work only when the previous command has been completely executed. i.e. when I exit out from the prompt.
How can this be automated.......
Suggestions please.