I've never used File::Monitor, but the documentation indicates you need to do $monitor->scan, once to get a snapshot, and subsequently to detect changes. From that, I assume you would do the second and subsequent calls (and sleep) in an infinite loop.
In reply to Re: Please HELP! FILE::MONITOR Configuration
by hbm
in thread Please HELP! FILE::MONITOR Configuration
by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |