in reply to timed ^C executing

The functions "kill", "sleep" and "system" are described in perlfunc ("perldoc perlfunc" on your system), and should help you get started.

Feel free to ask for assistance with debugging the code if you've actually written some.

HTH,
Joost.