Folks-

 

I wrote a simple perl application that uses POE::Wheel::FollowTail to
get entries out of a logfile, and puts them up in a Tk Text window.

 

I want to add a pause/resume toggle button at the bottom of the Text
window, so that the user can stop and start the incoming data whenever
they want. When the input is paused, I would like to have minimal impact
on the CPU. If the pause lasts long enough to where the file is reset,
then the user would get the data starting at the beginning of the
current file once they unpause. What is the best way to do this?

 

I wonder if it would make sense to add a pause method to this module? If
the general consensus is yes, I can volunteer to take a stab at it. If
there is a better/easier/faster way to do it with the existing methods,
please let me know.

 

Thanks

 

-Craig

 

Craig Votava

Alcatel-Lucent

Reply via email to