in reply to File::Monitor does not work ...
It's only a guess, but your code appears to be in a tight loop - are you absolutely sure it's not working - try either printing to STDERR or auto-flushing the STDOUT buffer (by putting $| = 1; before you go into the loop).
|
|---|