or download this
find lib -type f -exec grep -H -w 'prepare(' \{\} \;
if( ! defined $sth ){ warn $sqlstr."\n".__FILE__."::db_get_enums_for_t
+able() (line ".__LINE__.") : error, call to ".'prepare()'." has faile
+d for above SQL: ".$dbh->errstr; return undef }
...