I wrote a C program that inserts log messages from Linux syslog to mysql database. Now I wish to implement in Perl programs similar to Linux tail
for monitoring messages from now till Ctrl-c and less for viewing messages from given time to given time.
1. What Perl modules are recommended here?
2. Once I have a good module less
seems not to complicated to implement (just quering the database and piping into Linux less). tail
seems the real problem. Anyone has an idea how to do this? or is there something similar already doing that?