2ab0082001-01-20Fredrik Hübinette (Hubbe) #pike __REAL_VERSION__
29a20a2003-04-27Martin Nilsson #pragma strict_types
2ab0082001-01-20Fredrik Hübinette (Hubbe) 
45ebf92014-08-15Martin Nilsson private mapping(string:mixed) cache=([]);
2ab0082001-01-20Fredrik Hübinette (Hubbe) 
45ebf92014-08-15Martin Nilsson protected mixed `[](string s)
2ab0082001-01-20Fredrik Hübinette (Hubbe) {
4608ef2014-08-15Martin Nilsson  if(has_index(cache, s)) return cache[s];
2ab0082001-01-20Fredrik Hübinette (Hubbe)  mixed tmp=_static_modules[s];
29a20a2003-04-27Martin Nilsson  if(programp(tmp)) tmp=([program]tmp)();
2ab0082001-01-20Fredrik Hübinette (Hubbe)  return cache[s]=tmp; }