Hi
Perhaps taking a look at the following modules may help:
Win32::ChangeNotify - Monitor events related to files and directories
POE::Component::DirWatch - POE directory watcher
If neither does exactly what you want taking a look at the code in the poe module and "File::Compare - Compare files or filehandles" might give you inspiration.
Cheers
Rossco
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
None that I'm aware of.
Best way to do this is to have whatever is modifying the directory ( adding files, editing files, etc ) drop a empty file of a specific name, launch a script, or some other marker when it has modified something.
Second best option, is to just manually, using either cron or a long running process with some sleep() intervals, look for changes in the files.
Hope that helps.
| [reply] [Watch: Dir/Any] |