rtfm ^^
-Ursprüngliche Nachricht-
Von: sivasakthi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 29. August 2007 13:16
An: beginners perl
Betreff: Re: Problem in opening the file using Tail Module
>
> File::Tail will read only lines that are added to the file after it
>
buffering at all you use syswrite and only
write 1 char at a time.)
-Ursprüngliche Nachricht-
Von: sivasakthi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 29. August 2007 12:13
An: Jeff Pang
Cc: beginners perl
Betreff: Re: Problem in opening the file using Tail Module
i didn't get your
>
> 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
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
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
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
>File::Tail is waiting at least 10 second before starting to work.
if it is taking at least 10 second to start then how it is faster than
using open to access the file???
On Wed, 2007-08-29 at 11:49 +0200, Angerstein wrote:
> File::Tail is waiting at least 10 second before starting to work.
> If
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.
>
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 warnings;
use File::Tail;
my $file=File::Tai