in reply to DBI script gives HTTP 500 error

Have you tried to execute your perl script in this manner?
./myscript.pl
Doing this will often show you what's wrong with your perl code. If you get valid html output from this then you are doing something else wrong with your script...perhaps having to do with file permissions.

metadoktor

"The doktor is in."