I have used Linux::Inotify2 and been happy. You will need to be running something that has inotify, of course. OS X does not qualify for example; there you could try IO::KQueue.
File::ChangeNotify seems to be more agnostic and I’ve used tools that rely on it but never coded up anything with it directly myself.
Update 31.05.2011: I just discovered File::Monitor as well which seems nice and makes recursive monitoring easier than the inotify stuff.
In reply to Re: Event handler
by Your Mother
in thread Event handler
by leon951
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |