I've seen it done where you can make a home-grown module that has a second
package declaration for Apache[2]::ReadConfig. Something like ...
... in httpd.conf ...
use Some::Module;
Some::Module::my_custom_config();
... in Module.pm ...
package Some::Module;
sub my_custom_config(;
I have the following block in my httpd.conf file which installs
mod-perl handlers for a list of urls:
...
for my $uri (...) {
$Location{$uri} = ...;
}
If I wanted to move this code to a normal perl module, how should I
reference %Location?
Thanks,
ER