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;
In reply to Re: Re: Re: Thoughts on variable sharing in mod_perl
by Cine
in thread Thoughts on variable sharing in mod_perl
by IOrdy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |