in reply to Pulling Values out of a File

Your trouble lies in the line: if ($insection == "scoring position") {. First of all I don't see a SCORING POSITION option either in your $insection= statements or in your sample data. However to answer your question you want to modify that if line to look like this:
if ($insection ne "pitching") {

That will skip the print <td> ONLY when you are inside the PITCHING subsection. HTH!

-Adam Stanley
Nethosters, Inc.