I've added use vars to the SQL module and the errors went but the vars are still undefined and I get:
Can't connect(DBI::: ), no database driver specified and DBI_DSN env var not set at e:/apache/cgi-bin/wt/Lib/SQL.pm line 23
Ugh, why does it work in my main script but not in the modules? ie...in order to even try to connect to the database I use if ($IN->param('foo')) { ...and that works fine, I don't even have use vars in the main script.
Can't connect(DBI::: ), no database driver specified and DBI_DSN env var not set at e:/apache/cgi-bin/wt/Lib/SQL.pm line 23
Ugh, why does it work in my main script but not in the modules? ie...in order to even try to connect to the database I use if ($IN->param('foo')) { ...and that works fine, I don't even have use vars in the main script.