in reply to TIME: Adding Up and Predicting it

You also may want to have a look at File::Modified if your true objective is to react on whenever a file had changed.