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.