On Wed, 2007-08-08 at 17:39 +0530, sivasakthi wrote:
> Hi Guys,
> 
> I have  a very large  file. It may be contain 1lac lines..  also it
> length is increased in dynamically..
> Each time ( per 5 min) i need to read the contents from file & do some
> work ..  Suppose i have read the lines for first 5 min then  after some
> time it reads the  same line also , so it  take more time & it is a
> waste of time..

Look up File::Tail in CPAN.  If you are trying to follow the file as it
grows then this is what you want.

-- 
Ken Foskey
FOSS developer


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


Reply via email to