Excute windows program within perl

I would like to execute another windows program within perl that require input from the user. How do i automate the input process ?
(for example calling a program called camstudio (known as screen recorder)

Run Windows Program within Perl

There are several ways to do that, the most common ones are the system function or the backticks `cmd.exe $param1`.

But what do you mean by input from the user?

Let me explain.

There are 2 issues:

1. I have an icon that represent a utility program on my desktop. I want to run it within a perl script. When I go to the cmd.exe and type the program name(recorder.exe) it does not run for some reason.
2. Assuming that I was successful in step one the program is waiting for the user input let's Alt F to select from the file menu one option and then run. I want the perl scrip to wait for 20 min and then shut down everything.
Is this doable ??