Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: CGI and DBI, new to me...by scain (Curate) |
on Dec 13, 2002 at 19:19 UTC ( [id://219706]=note: print w/replies, xml ) | Need Help?? |
There doesn't appear to be anything fundementally wrong with your code, though you may want to look into DBI->quote() for quoting strings. Also, use strict and warnings.
For debugging, I've found DBI->trace([1-4]) very useful as well. If you are running this as a cgi, it will spit all kinds of useful information to the error log.
Scott
In Section
Seekers of Perl Wisdom
|
|