Re: How to reference %Location outside of ...?

2011-02-28 Thread Jeff Nokes
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(;

How to reference %Location outside of ...?

2011-02-28 Thread E R
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