On Jun 7, 2006, at 6:19 PM, Matthew wrote:
 How exactly to you do that?

do everything you can in a perl module, then load those modules in a startup.pl style script that is called from httpd.conf
anything loaded during then will be compiled into shared memory

all of the scripts i've written have really just been light wrappers around modules (like a few lines with all the work happening in custom pms) so i never realized that the .pl scripts are re-read as perrin pointed out.

in any event... do as much as you can in modules and preload them with startup.pl - it saves a ton of memory -- and really just makes sense given the mp persistance.



Reply via email to