Home : General : Perl Programming :

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

Here is the list of edits for this post
Re: [Alex] import vs @EXPORT_OK
The problem was staring me in the face the whole time.

Of course I can't use $IN $CFG $TPL etc in the modules "use"d in LoadMe.pm as when they are loaded in LoadMe.pm (so the objects can be created) then $IN $CFG etc won't exist yet and thats why I get the error ugh.

So basically I can only use:

use LoadMe qw/$VARS/;

...in my cgi scripts and modules other than those used to create objects in LoadMe.pm

DUHHH

Last edited by:

PaulW: Nov 25, 2001, 4:25 AM

Edit Log: