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 can make a new object >> with each handler call but I was hoping to avoid that. > > > Aha - simple solution is use the first instance of get_config() in the > handler and cache it.
or create the various CREATE() and MERGE() subroutines, and use those to govern singleton creation. --Geoff
