in reply to ODD: Perl started complaining about just everything
I'd look for a missing quote delimiter (like you forgot to end a string with a quote mark) or a missing semicolon. When you drop a quote mark or a semicolon, perl can get awfully confused about everything else.