Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Seeking a better way to monitor a file's changeby repellent (Priest) |
on Jun 26, 2010 at 03:21 UTC ( [id://846638]=note: print w/replies, xml ) | Need Help?? |
See File::Monitor::Delta. The module is able to monitor changes to file size. A file can change in many ways. What exactly would you consider a file "change"? Perhaps checking the file's modified time mtime is sufficient enough for your needs? If you're interested in whether the contents of the file changed, you may want to look at Digest::file.
In Section
Seekers of Perl Wisdom
|
|