in reply to Re: Re: Filehandle on rotating log
in thread Filehandle on rotating log

See File::Tail ...

The primary purpose of File::Tail is reading and analysing log files while they are being written ... If the file does not get altered for a while, C<File::Tail> gets suspicious and starts checking if the file was truncated, or moved and recreated. If anything like that had happened, File::Tail will quietly reopen the file, and continue reading.

-- James Antill

Replies are listed 'Best First'.
Re: Re: Re: Re: Filehandle on rotating log
by Lonny (Novice) on Oct 24, 2003 at 18:56 UTC
    Thanks James. This sounds like the solution.