Without really knowing your actual question, here are some off hand comments about your code, I would suggest the following:
- Pre-load PBB::ControllerTest and PBB::Packages::MyConfigTest in your startup.pl with simple use statements. This allows the code to be shared among the various Apache children.
- In fact, pre-load all of the modules you are going to be using such as CGI, CGI::Carp, Apache2::Const, etc, etc.
- Personally I would use either PerlSetVars, a config file using something like Config::General, or write my own Apache directives for that small amount of config data. It's just a personal pet peeve of mine to have "configs" in code. While it may not be a requirement of your application today, this makes it very difficult to deploy two instances of your application on the same server.