in reply to Re: Re: Re: using modules
in thread using modules

I tried removing the use SUBS statement, but I received the following:
BEGIN not safe after errors--compilation aborted at db.cgi line 1035.
Line 1035 is: chdir("$file_dir");
However, I also received error messages like:
Global symbol "$var" requires explicit package name at db.cgi
The "$vars" are those I have declared in @EXPORT and use var in SUBS.
Stacy.