in reply to DBI script gives HTTP 500 error

I am going to just give a syntax help I have learned through the years, if you get an apache error, have a terminal running with a tail -f /dir/of/apache/error_log that will grow as you refresh the page. Usually you will see a very simple error that you would miss by simply adding a -w or perl -c'ing your code. Helps me a lot in debugging. You can also within this do some
warn "Got Here \n";
throughout the code to see the point at which the code is bombing. Hope this helps. tradez