in reply to alarm function

The alarm function has been implement in recent ActiveState releases, as you were told recently. The solution is their for you - update your Perl.

Their is also Win32::ChangeNotify which will help you if you invert your logic.

jdtoronto