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

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

In my script, I would like to simulate the fact that someone presses on the "y" key on the keyboard and then presses Return. If anyone knows how to do that or if it is even possible to do it. Cheers !

Originally posted as a Categorized Question.