Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Man, File::Tail is just beating me down!

by gloryhack (Deacon)
on Jan 17, 2008 at 18:07 UTC ( #662928=note: print w/replies, xml ) Need Help??


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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://662928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2019-03-20 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (98 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!