starface245 has asked for the wisdom of the Perl Monks concerning the following question:

I got a program, once it execute the program (.exe), it gives 3 options to the User. Option1.. option2.. option3.. Depending on the User input, let say the User select option1, it runs option1. My question is that is there a way in Perl to write that so the User does not have to type "option1" every time. A Perl script to automatic select option1 instead of the User. Without rewriting/edit the original .exe program. Thanks

Replies are listed 'Best First'.
Re: Automatic User input
by Anonymous Monk on Jan 27, 2011 at 20:23 UTC
        I check out autoitscript, it is not what I am looking for.. I am looking for a method/function do to User input without having the User there.