/ October 1, 2015
Sometimes it's better to read a file backwards, for instance when we're dealing with a huge logfile.
Linux is covered in that respect, as it has the GNU tac utility which spits the file out backwards, line by line. However some *nix systems may not have tac but may indeed have Perl.
So here is an implementation of tac in Perl, it may not be pretty or support all of the GNU utility's options, but it should work.