Home : General : Perl Programming :

General: Perl Programming: Re: [PaulW] import vs @EXPORT_OK: Edit Log

Here is the list of edits for this post
Re: [PaulW] import vs @EXPORT_OK
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.

Last edited by:

PaulW: Nov 23, 2001, 7:41 AM

Edit Log: