in reply to File::Tail or Time::HiRes

Is your file located on some kind of network-shared drive? Are the system clocks on the two boxes off by some small amount?

If so, I've seen something similar in a non-Perl environment, whereby one machine applies a timestamp to the mtime field, and another machine compares that time with the time it last displayed new lines, then boom.

Replies are listed 'Best First'.
Re^2: File::Tail or Time::HiRes
by onegative (Scribe) on Jul 21, 2004 at 19:34 UTC
    That is a very real possibility, because this log file does in fact reside on a NFS share. I will definately check that now and let everyone know. Man that was a great catch, if in fact it does pan out that way. Thanks for your insight. Also I may limit the File::Tail module to a specific time period. But thanks to all that replied.

      I'll save you some time--NFS is completely irrelevant.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon