in reply to module for monitoring log file

You can use File::Monitor or similar modules (like Linux::Inotify2) to get a notification when the file changes, and then check the size yourself (see -s).

Or, even simpler, periodically poll the file size and sleep between polls.