My company builds Web sites with Perl. We are using ISAPI and ActiveState Perl. The site I am working on is divided into 6 sections with multiple screens per section. Our old way of doing things would be to have 6 scripts with all of the screens in each script. We have just switched to a template system so we can get rid of 'here' documents and I am wondering if we should make our 6 scripts 'pseudo templates' for Perl. If one section has 10 screens, break that out into a 'traffic cop' script and 10 smaller scripts, one per screen, and 'require' those only if needed.
I think that since less Perl code is loaded, this would make things faster. Is this true? I don't know how to Benchmark a CGI script, so I'm just guessing. Do any of you have any experience with large Web sites? I looked at CGI::Application, but that just looks like a way to avoid 'if-then' statements.