We have a remote process logging into our system and writing files to a specific directory. Will the values supplied by File::Stat (mtime, size, etc.) exist and be *constantly* updated during the time the file is being written to our disk by the remote process?
I'd like to be able to compare mtime or size against a prior call to "time" or "stat" to see if the file is currently being written. I am aware of the lsof and fuser commands, but I'd like to use something a little more portable and I think comparing the instantaneous modification time or file size might do the trick.