in reply to Timestamp conditional

You may want to check out File::stat which provides a nicer interface to the stat function.