in reply to Re^4: Searching a string in running filein thread Searching a string in running file
Yes, even you can use CPAN. Also, you can consider copying the code of File::Tail into your program too, license permitting.