in reply to tail a file in perl

Check out grinder's Performing a tail(1) in Perl (reading the last N lines of a file) for a rather extensive thread on the topic of implementing tail in perl.
HTH

_________
broquaint