in reply to Re: Need help with syntax error in CGI script
in thread Need help with syntax error in CGI script

Moving the line 42 } is not a good idea; then the scope of all those lexicals doesn't extend to where they are actually used.
  • Comment on Re^2: Need help with syntax error in CGI script

Replies are listed 'Best First'.
Re^3: Need help with syntax error in CGI script
by davidj (Priest) on Aug 02, 2004 at 05:36 UTC
    Maybe his code that I downloaded was corrupted, because moving the } is the only way I got it to compile.

    davidj

      Huh; just changing the If to if and adding parens on that line makes it compile for me.