in reply to alarm function
Their is also Win32::ChangeNotify which will help you if you invert your logic.
jdtoronto