uzzikie has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,

i need some advice regarding the use of CGI::Application. Its more than a case of Scaling single-script CGI applications....

As stated in the synopsis, it is no doubt useful in creating sophisticated, reusable web-based applications. But what happens if i have hundreds of run-modes? Even though i can organize them neatly into different modules, what worries me is the overhead. Will CGI::Application attempt to load ALL the modules each time the script is accessed, even though they are not used? (now that's scary!)

Any thoughts and recommendations to handling such a situation?