http://www.perlmonks.org?node_id=1017460


in reply to Automating user input

If you need to be actually interactive rather than just stream inputs, there are a number of solutions discussed in perlipc. IPC::Open2 is my guess on your best bet in that case.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.