in reply to -M file test operator
Is the logfile on a networked drive of a computer with a slightly out-of-sync system time? Suggest you just check
(stat($logfile))[9] before and after running the 3rd party
script and just see if it changes. You aren't messing with $^T, are you?