Re: Problem in opening the file using Tail Module

2007-08-29 Thread sivasakthi
> > File::Tail will read only lines that are added to the file after it has been > opened. Your program will simply sleep until something new is added. > > Rob when my log file is updated then it works correctly thanks to all for reply

Re: Problem in opening the file using Tail Module

2007-08-29 Thread Mumia W.
On 08/29/2007 04:41 AM, sivasakthi wrote: Hi Guys, I have used the following code to print the log files. but nothing is printed even it doesn't show the warning message, no prompt is returned. what is the mistake in code , could u help me to find the pbm??? #!/usr/bin/perl use strict; use w

Re: Problem in opening the file using Tail Module

2007-08-29 Thread Rob Dixon
sivasakthi wrote: I have used the following code to print the log files. but nothing is printed even it doesn't show the warning message, no prompt is returned. what is the mistake in code , could u help me to find the pbm??? #!/usr/bin/perl use strict; use warnings; use File::Tail; my $fil

Re: Problem in opening the file using Tail Module

2007-08-29 Thread sivasakthi
i didn't get your point , please explain little bit more... Thanks, Siva On Wed, 2007-08-29 at 17:55 +0800, Jeff Pang wrote: > I tested the codes,which run well for me. > Give a try to add '$|++' to disable IO buffer. > > 2007/8/29, sivasakthi <[EMAIL PROTECTED]>: > > Hi Guys, > > > > I have u

Re: Problem in opening the file using Tail Module

2007-08-29 Thread Jeff Pang
I tested the codes,which run well for me. Give a try to add '$|++' to disable IO buffer. 2007/8/29, sivasakthi <[EMAIL PROTECTED]>: > Hi Guys, > > I have used the following code to print the log files. but nothing is > printed even it doesn't show the warning message, no prompt is > returned. >