in reply to File tracking

Not a perl solution, but you might want to take a look at newsyslog as a solution for log rotation. You could even configure it to send a HUP signal to your log monitor whenever it rotates the logs so that your program would know that it is time to re-open the filehandle.