I would guess that this is line 176 (or pretty close to it):
Now, if you have an editor that knows how to find matching bracket-like characters, you'd find that this close paren at the end of your tag does not have a corresponding open paren anywhere above it.</html>);
If you look at (or near) line 105, you'll find:
and looking forward from that point for the matching close paren leads me to line 116 (I think), which shows:sub print_main { print qq( ## line 105 (I think)
That's where the trouble starts. I haven't looked in detail at all the rest of what you're doing here, but my initial (uninformed) impression is that it's probably a lot bulkier and more complicated-looking than it needs to be... e.g. you don't seem to be using CGI.pm's capabilities to their best advantage (perhaps others will comment in more detail on that).Guestbook entries:);
update: On closer inspection, the problems with open and close parens is more widespread (and line 116 was not the real start of the trouble). The earlier response about changing your habits with "qq" is certainly on the mark, but apart from that, you really need to use an editor that can help you to check for unbalanced parens and other kinds of brackets. (I use "Control-Meta-F" and "Control-Meta-B" in emacs -- the former, if applied when the cursor is on an open bracket, will try to jump to the matching close bracket, or ring the terminal bell if there is no close bracket; likewise for the latter, looking backwards from a close-bracket character.)
In reply to Re: Linux server doesn't like me
by graff
in thread Linux server doesn't like me
by stonecolddevin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |