Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 taking refuge in the Monastery: (10)
As of 2015-07-30 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls