|Don't ask to ask, just ask|
Mysql and tailby hotshot (Prior)
|on Oct 16, 2003 at 06:46 UTC ( #299681=perlquestion: print w/replies, xml )||Need Help??|
hotshot has asked for the wisdom of the Perl Monks concerning the following question:
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 and less. 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?
Back to Seekers of Perl Wisdom