If the file does not get altered for a while, File::Tail gets suspicious and startschecking 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.... The effect of this is that the scripts need not be aware when the logfiles were rotated, they will just quietly work on.
In reply to Re: Tailing A Swapped File
by japh
in thread Tailing A Swapped File
by insensate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |