in reply to how to read a file in backwards?

Another alternative:
use strict; use IO::All; print io("file.txt")->backwards->getlines;