in reply to Monitering set of files

Linux::Inotify2 (for Linux, as the name implies). There's a similar one for Windows  (I just can't remember the name — but someone else will tell)update: looked it up: Win32::ChangeNotify.

pktrain posted some related sample code a while ago, which is certainly worth looking at...