Press Enter to Continue...
Posted on 2011-02-18
I have a perl script that is automating a process for data retrieval. It is pretty straight forward, with one exception. You need to interact with another program (GUI) to complete the process. So, I need to have the program print out an instruction, and then wait until the enter key is pressed, and then proceed with the rest of the automation. I don't know how to do the pause, wait for the enter key to be pressed...
# Do something useful
print "You need to do that other thing, then press 'Enter'. \n";
# Do something else