in reply to Re^2: Perl CGI and SQL statements
in thread Perl CGI and SQL statements

It was the line before it. See my updated post.

If your perl is earlier than 5.6.x add  -w to the end of the shebang line.