it returns control to the user, and waits until the user does something, whether that be hitting 1 and then enter or something of the like.
That suggests that the program is not accepting input via STDIN but rather via some form of direct access to the keyboard buffer, in which case, pretty much all of the mechanisms whereby you might try to control it from Perl will fail.
What OS are you doing this on?
In reply to Re^3: automatically giving user input to a command line
by BrowserUk
in thread automatically giving user input to a command line
by tfredett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |