I'm pretty new to Perl and programming in general. I have a shell script that I'm currently supposed to modify. It takes an output file of data and converts in to a sort of spreadsheet format. The only thing is that it puts two lines of additional calculations at the end of each data set. Any ideas on how to remove those last two lines in each of the data sets?