http://www.perlmonks.org?node_id=662928


in reply to Man, File::Tail is just beating me down!

I could be so far off that I can't even see left field, but: Is it guaranteed that your logger will always in some way make each new line unique? If there's any way in normal operation for the "current" line to contain the same data as the first line, then your test is invalid.
  • Comment on Re: Man, File::Tail is just beating me down!

Replies are listed 'Best First'.
Re^2: Man, File::Tail is just beating me down!
by hallikpapa (Scribe) on Jan 17, 2008 at 18:50 UTC
    It would be impossible. Each line is unique, they come off of a VOIP switch that has many unique fields, like sequence number, call id, etc...