I need to create a program which reads a file from the
LAN, and that
file is continuously updated (kind of log).
I can really suggest File::Tail - it's a BRILLIANT module.
~~
This e-mail and its contents are subject to the
There's also a method something like:
while()
{
sleep 1 whie (eof);
# do your code there
}
Or something like that
On 7/20/2005, Tielman Koekemoer (TNE) [EMAIL PROTECTED] wrote:
I need to create a program which reads a file from the
LAN, and that
file is continuously
Can you use some sort of 'tail' command to get the last lines?
DA
On 7/16/05, Wiggins d'Anconia [EMAIL PROTECTED] wrote:
Octavian Rasnita wrote:
Hi,
I need to create a program which reads a file from the LAN, and that file is
continuously updated (kind of log).
The file increases
Slightly off topic but..
I dont know if this possible with your situation, but it may make more
sense to put the growing file into a database and write reports out of
the database that extract the needed data.
Just a thought from a different point of view.
On 7/15/05, Octavian Rasnita [EMAIL
Hi,
I need to create a program which reads a file from the LAN, and that file is
continuously updated (kind of log).
The file increases continuously, and it can become very big.
On every read, I need to read just the lines for the current day (which is
specified in each line) and jump over the