in reply to My perl interpreter won't even look at it. It's that bad.

My perl interpreter won't even look at it. It's that bad.

Next time, you'll know not to type that much code before you start syntax checking it (via perl -cw).

One way to work your way through that body of code is to use POD directives to comment chunks out. Pick a reasonable chunk at the top of the file and add   =for COMPILING below it. Then add   =cut to the bottom of the file. You've commented out everything between these directives. Now perl -cw the file, fix any errors that are reported, and then move the =for COMPILING line down a chunk. Repeat until you've reached the bottom of the file.