in reply to Tk tail -f - How?

Sounds like File::Tail is the ticket, and I quote from the docs
File::Tail - Perl extension for reading from continously updated files


Replies are listed 'Best First'.
Re: Re: Tk tail -f - How?
by rinceWind (Monsignor) on Oct 09, 2003 at 12:58 UTC
    I don't think that File::Tail will cope with a Tk MainLoop, and Tk's way of doing everything through callbacks. But, I would be interested if anyone has made File::Tail work with Tk.

    I have home-grown something similar, albeit on a Unix platform. Here is an excerpt from my process monitoring application (which has the ability to open up windows with log file tails in them). Note the "freeze frame" button - a useful feature on a log tailing window. I also limit the number of lines to display in the window to be $logMax.

    I'm Not Just Another Perl Hacker
Re: Re: Tk tail -f - How?
by msemtd (Scribe) on Oct 09, 2003 at 09:23 UTC
    Hmm, thanks but I've tried that - the ActiveState package has no Win32 version and the CPAN tarball has 100% failure upon make test (the former because of the latter no doubt). The crux _is_ "Win32 operation required" :)