in reply to Missing right curly or square bracket at jsdisp.cgi line 178, at end of line syntax error at jsdisp.cgi line 178, at EOF

This isn't a personal debugging service you know. Please try asking Perl to tell you what the problems are with your code. That will save us all a lot of time.

perl -c your_code.pl

Running that, I found three errors in your code. One export from CGI.pm which is misnamed and two lines where you are missing the final semicolon. Fixing those enabled your program to compile cleanly. Of course, I can't run it as I don't have your database.

Update: I see that you've already asked exactly the same question three hours ago? Why waste everyone's time by posting it again? Particularly as the comments on your previous post explain exactly what your problems are.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Reparented from duplicate thread 484115 by Arunbear

  • Comment on Re: Missing right curly or square bracket at jsdisp.cgi line 178, at end of line syntax error at jsdisp.cgi line 178, at EOF
  • Download Code