I have a command line program that prompts for user input. Is there a way to automate entering the input using perl? A good example of a similiar program is Runas (windows). You cannot pass in the password when it is run but have to enter it manually. Is there a way to start the program and then pass the password in after it prompts for it?