in reply to Tailing A Swapped File

The pertinent snippet:

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.