>>>>> "Terrence" == Terrence Brannon <met...@gm...> writes:
Terrence> I just wanted to start a discussion about usage of CGIP in mod_perl
Terrence> environments. I am happy with CGIP's setup for my webhosting stuff, because
Terrence> we use plain CGI. However, for corporate work (should that day come), the
Terrence> fact that the engine slot and the prototype_enter method use autoloads to
Terrence> load Template and CGI would compromise performance: one would prefer that
Terrence> both of these be loaded eagerly.
It would be enough to simply list them literally:
use My::App;
use My::App::PageOne;
use My::App::PageTwo;
etc
You can probably automate that if you wanted. I'm sure you can come
up with a BEGIN block that reads the directory and loads all the
plugins.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<me...@st...> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
|