Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Tk tail -f - How?

by broquaint (Abbot)
on Oct 09, 2003 at 08:40 UTC ( #297850=note: print w/replies, xml ) Need Help??

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" :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://297850]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2021-02-27 14:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found