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


in reply to 'better mousetrap': how to perform timed event

Have you looked at POE (or more specifically, the stuff about alarms in POE; or the kernel documentation)? --Dave