There's more than one way to do things | |
PerlMonks |
Re: Tail rotating logfiles with tieby PotPieMan (Hermit) |
on Sep 30, 2004 at 15:21 UTC ( [id://395375]=note: print w/replies, xml ) | Need Help?? |
You might have found it in your research, but I've had luck with File::Tail. It lets you tie a filehandle to a rotating log file, automatically reopening the file if it detects that the file was truncated. CPAN Testers says it fails on Windows, but you might be able to look at it for ideas or submit patches. --Daniel
In Section
Seekers of Perl Wisdom
|
|