Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Tk tail -f - How?

by broquaint (Abbot)
on Oct 09, 2003 at 08:40 UTC ( [id://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
HTH

_________
broquaint

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found