perlquestion
hotshot
Hello all!<BR><BR>
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 <I>tail</I> and <I>less</I>. <I>tail</I> for monitoring messages from now till Ctrl-c and less for viewing messages from given time to given time.<BR><BR>
1. What Perl modules are recommended here?<BR>
2. Once I have a good module <I>less</I> seems not to complicated to implement (just quering the database and piping into Linux less). <I>tail</I> seems the real problem. Anyone has an idea how to do this? or is there something similar already doing that?<BR><BR>
Thanks
<div class="pmsig"><div class="pmsig-126161">
<BR><BR>
<A HREF="/index.pl?node=Hotshot&lastnode_id=1072">Hotshot</A>
</div></div>