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


in reply to Multiplatform event handling module?

For linux there is Linux::Inotify2 it interfaces with a kernel-level event notification subsystem. A potential multiplatform solution is File::Monitor a quick look at that module suggests you need to call a scan() method manually for polling.