http://www.perlmonks.org?node_id=618584


in reply to Fixup tabular text file

Your piece of code to delete trailing lines was just what I was looking for...thanks++