in reply to Re: Re: Thoughts on variable sharing in mod_perl
in thread Thoughts on variable sharing in mod_perl
in your apache/perl startup file (the one you call from httpd.conf. You do have such a file right???) you write use Config; And your config will be avail to all script in $Config::config.... Or you could do something similar with constants...package Config; use strict; my %config = { #Init your variables in %config }; 1;
|
|---|