stakor
asked on
Press Enter to Continue...
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...
#!/usr/bin/perl
# Do something useful
print "You need to do that other thing, then press 'Enter'. \n";
<Magic_Happens>
# Do something else
#!/usr/bin/perl
# Do something useful
print "You need to do that other thing, then press 'Enter'. \n";
<Magic_Happens>
# Do something else
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I knew it was going to be simple, I just had no idea it was that simple. Thank you very much.
Open in new window