2000-09-16 10:57:29 -04:00
|
|
|
The File::Tail module is designed for reading files which are
|
|
|
|
continously appended to (the name comes from the tail -f directive).
|
|
|
|
Usually such files are logfiles of some description.
|
|
|
|
|
|
|
|
The module tries hard not to busy wait on the file, dynamically
|
2000-09-16 11:20:11 -04:00
|
|
|
calculating how long it should wait before it pays to try reading
|
2000-09-16 10:57:29 -04:00
|
|
|
the file again.
|
|
|
|
|
|
|
|
The module should handle normal log truncations ("close; move; open"
|
|
|
|
or "cat /dev/null >file") transparently, without losing any input.
|