![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Perl process to constantly detect the time change of a file?by abstracts (Hermit) |
on May 04, 2002 at 08:19 UTC ( [id://163979]=note: print w/replies, xml ) | Need Help?? |
I think this is an excellent advice as it looks at the problem from a different perspective. Instead of polling the time the file was last changed, you wait for the file to change. (this of course assumes you can read from the file)
++stefp++ Update: Actually, coming to read the original post again, this will not work if the file is "touched" by another process, only if appended to. Nonetheless, --stefp++ :-)
In Section
Seekers of Perl Wisdom
|
|