in reply to How to check a files Status?

You can use File::Monitor to poll changes in the filesystem.