Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Matching two files real time

by cjb (Friar)
on Jul 27, 2011 at 13:48 UTC ( #917034=note: print w/ replies, xml ) Need Help??


in reply to Matching two files real time

File::Tail should be a good place to start for monitoring the 2 continuously updated files, and consider using something like DBD::SQLite for the temp file. Add every row that doesn't match into the DB with a time stamp, delete or flag the row in the DB if a match turns up later. It's a fairly simple query against the DB (perhaps from a separate alerting app) to report on any rows which have a timestamp older than now - 10 minutes.


Comment on Re: Matching two files real time

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2015-07-03 11:05 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 (51 votes), past polls