in reply to Re: Site Wide Variables
in thread Site Wide Variables

how do you import a variable in other areas?

I think I see one of my problems...

At the top, my actual $dbh is set in the vars.conf file, and so before I can verify a member I have to call that vars.conf file, yet in that vars.conf file I execute a lot of things, including using some of the $_mem variables, although they are in sub routines, that I don't call until after I set $_mem does that make a difference?

thank you.

Junior

Replies are listed 'Best First'.
Re^3: Site Wide Variables
by akho (Hermit) on Aug 04, 2007 at 09:07 UTC
    You declare it as our in the package, then use the package elsewhere and use a fully qualified name for the variable (like $My::Package::var).

    Ditn't understand the third paragraph.