in reply to
monitor a particular directory
You can take a look onto
Linux::Inotify2
for directory monitoring, though it's Linux specific and seems not exactly what you want.
Comment on
Re: monitor a particular directory
In Section
Seekers of Perl Wisdom