Re: Apache2::CmdParms usage during server startup

2006-07-04 Thread Fred Moyer
Philip M. Gollucci wrote: Fred Moyer wrote: Fred Moyer wrote: Aha - simple solution is use the first instance of get_config() in the handler and cache it. Sorry for the noise - got caught up in 'why isnt it working when maybe it should'. Still a bit curious why it doesn't work with a Serv

Re: Apache2::CmdParms usage during server startup

2006-07-04 Thread Fred Moyer
Geoffrey Young wrote: Fred Moyer wrote: Here's the code I'm using. I'm guessing that get_config() may not return what I'm looking for during startup since it functions properly at runtime. Any ideas? $pkg_global will be a template object, which is why I want to construct it during startup.

Re: Apache2::CmdParms usage during server startup

2006-06-10 Thread Geoffrey Young
Fred Moyer wrote: > Fred Moyer wrote: > >> Here's the code I'm using. I'm guessing that get_config() may not >> return what I'm looking for during startup since it functions properly >> at runtime. Any ideas? $pkg_global will be a template object, which >> is why I want to construct it during s

Re: Apache2::CmdParms usage during server startup

2006-06-10 Thread Philip M. Gollucci
Fred Moyer wrote: Fred Moyer wrote: Here's the code I'm using. I'm guessing that get_config() may not return what I'm looking for during startup since it functions properly at runtime. Any ideas? $pkg_global will be a template object, which is why I want to construct it during startup. I c

Re: Apache2::CmdParms usage during server startup

2006-06-09 Thread Fred Moyer
Fred Moyer wrote: Here's the code I'm using. I'm guessing that get_config() may not return what I'm looking for during startup since it functions properly at runtime. Any ideas? $pkg_global will be a template object, which is why I want to construct it during startup. I can make a new objec

Apache2::CmdParms usage during server startup

2006-06-09 Thread Fred Moyer
Greetings, I'm trying use custom directives during a BEGIN block of one of my modules so that I can use the directive as a configuration parameter for a singleton in the handler package. I use Apache2::ServerUtil->server to get the server object during the BEGIN block and run $cfg = Apache2: