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

You are missing semicolons -

C:\>perl -c curly syntax error at curly line 31, near ") {" syntax error at curly line 89, near "}" curly had compilation errors.
I checked a few lines above and i don't see semicolons.

Note: line 89 error is not quite accurate as the compiler is not reading the lines correctly due the missing semicolon. Once you fix that first error and rerun perl -c you will see an error message around the line # where semicolon was missing. It will not give the exact line number but it should be close enough

-SK

Update: forgot to mention that i actually commented out your use CGI::Carp for the perl -c output i showed you (see davido's post below why there is an error in that line).

  • 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
  • Select or Download Code