Thanks all for your input. The File::Tail package works although it
seems to stop working once I restart the application writing to the
logfile. I've played around with the settings but I'll have to take it
up with the author.

Thanks again!

-----Original Message-----
From: Chris Knipe [mailto:[EMAIL PROTECTED] 
Sent: 19 May 2005 09:48 AM
To: Ramprasad A Padmanabhan
Cc: beginners@perl.org
Subject: Re: Emulate "tail -f" on file

On Thu, May 19, 2005 at 11:54:35AM +0530, Ramprasad A Padmanabhan
wrote:
> use File::Tail;
> 
> 
> On Thu, 2005-05-19 at 11:37, Tielman Koekemoer (TNE) wrote:
> > Hi All,
> > 
> > If I wanted to monitor a file in a way that would emulate "tail
-f"
> > (in the shell), how would I open the file? 
> > 
> > open(FILE, " filename |"); (?)
> > 
> > TIA


As someone who asked the -EXACT- same question, not even a month ago,
I can really suggest the archives, and I can also really second
File::Tail - it's a BRILLIANT module.

--
Chris.


--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>
<http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to