title: What is the best way to read the lines of dynamically generated file in Perl?
body: <p>I have a log file which gets dynamically populated by the second. I want to read the file (latest lines) and filter out if any exception. What is the best way to read the lines of dynamically generated file in Perl?</p>