in reply to Re: Re: Syntax errors galore, need a good debugging
in thread Syntax errors galore, need a good debugging

My guess is that you need a closing parenthesis for the table() function. Again, a good editor will help you with this. In vi or vim, you can put the cursor on one brace and hit the % to jump to the other.

It's also good to get in the habit of typing the ending brace right after you type the opening brace. Then, back up a character and type the contents inside. Consistent indentation helps.

One debugging trick I like is to comment out code. If I were you, I'd comment out everything before the table(), including the comma, and end the line with a semicolon right there. If that works, you know you've found the error. I use the __END__ token quite often to comment out everything after the current code.