RE: reading a big file

2005-07-20 Thread Tielman Koekemoer \(TNE\)
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

RE: reading a big file

2005-07-20 Thread Tom Allison
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

Re: reading a big file

2005-07-19 Thread Dave Adams
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

Re: reading a big file

2005-07-19 Thread Mailing Lists
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

reading a big file

2005-07-15 Thread Octavian Rasnita
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