Instead of require-ing the variables from conf.pl why don't you use one of the many modules that let you store and retrieve variables, such as Storable, FreezeThaw, Data::Denter, Data::DumpXML, XML::Simple... or just use your own module, which would then let you export variable as well as functions.
In any case you should pay extra attention to where the data file is located (outside of the web tree is a good idea) and what its permissions are (probaly not writeable by the web server user).
In reply to Re: Require Centralized Variables
by mirod
in thread Require Centralized Variables
by mhorner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |