
Filesys::notify::simple is a perl module that provides a simple and unified interface to get notifications of changes for a given filesystem path. it can use inotify2 on linux or fsevents on mac os x, kqueue on freebsd, findfirstchangenotification on windows and otherwise falls back to a full directory scan.