in reply to Print last line in a file
perl -ne '$last=$_; END{print $last}'
Similar in spirit to tachyon's reply.