Is there something like Perl's Win32::FileNotify for Linux or OS X?
问题 I've been using Win32::FileNotify on Windows, and I was curious to know if there were something similar for Linux and OS X. I haven't been able to find such a module using Google. Does anyone here know of such a thing? 回答1: File::ChangeNotify sounds like a cross-platform way to do this. 回答2: For systems where famd can run (Irix, Linux, BSDs, most Unices) there is SGI::FAM and Sys::Gamin, both of which do not build straight out of CPAN or tarball, but do work well once you get them working.