I'm new around here, so please excuse me if this is anwered elsewhere.
I'm writing a script that uses File::Tail to read lines from a log file.
However, if I exit (eg Ctrl-C) from the script, the most recently added lines won't be read, so I'd like to catch SIGQUIT and SIGTERM to read the remaining lines, no matter what File::Tail's interval is. How can I do that?
TIA