For the second, File::Tail.
In reply to Re: use strict with format and tailing a file by ysth in thread use strict with format and tailing a file by penantes