Web DBI - Tips for the novice
Test one step at a time
- Test perl + DBI + DBD driver outside the web server first
- Test web server + non-DBI CGI next
Remember that CGI scripts run as a different user with a different environment - expect to be tripped up by that.
DBI trace() is your friend - use it.
Use the Perl "-w" and "-T" options. Always "use strict;"
Read and inwardly digest the WWW Security FAQ:
Read the CGI related Perl FAQs:
And, if appropriate, read the mod_perl information available from: