#!/usr/bin/perl -w use strict; if (open (FH, $ARGV[0])) { seek FH, -100, 2; while () { print $_; } close (FH); }