in reply to file modified
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.
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.