[cgiapp] How to lazy-load runmodes

2011-05-23 Thread gvim
If I have a collection of, say, 15 fairly lengthy Perl scripts and I convert them into a CGI::Application app with 15 runmodes isn't there a huge startup penalty since my app must now load the code for all 15 runmodes prior to dispatch? Is there a way to lazy-load my runmodes? Although I have

Re: [cgiapp] How to lazy-load runmodes

2011-05-23 Thread Ron Savage
Hi gvim On Tue, 2011-05-24 at 04:15 +0100, gvim wrote: If I have a collection of, say, 15 fairly lengthy Perl scripts and I convert them into a CGI::Application app with 15 runmodes isn't there a huge startup penalty since my app must now load the code for all 15 runmodes prior to

Re: [cgiapp] How to lazy-load runmodes

2011-05-23 Thread Joshua Miller
On Mon, May 23, 2011 at 11:15 PM, gvim gvi...@gmail.com wrote: If I have a collection of, say, 15 fairly lengthy Perl scripts and I convert them into a CGI::Application app with 15 runmodes isn't there a huge startup penalty since my app must now load the code for all 15 runmodes prior to