http://qs321.pair.com?node_id=744833

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

In the Windows environment, I want to write a script that will just idle along in the background noticing if keys are pressed and/or mouse is moved. I'll use this knowledge to record working hours. Looks like I can use Term::ReadKey to check for keyboard input, but I haven't found anything to tell me if the mouse has moved. Is there something? Thanks - Peter