in reply to •Re: file modified
in thread file modified

Merlyn, I'm surprised you didn't point out that the result of -M can be undef if the stat fails, and that should be checked for, even if $myFile is a filehandle.