Tim Moore wrote:
Just tested with some debug output and it works. Cheers. I thought it hadn't at first until I realised I was looking a the wrong log file.
:) Its always good when it works.
One further question. Currently the scripts include some .pm files by doing a 'use' statement. Would these perl modules get compiled too or should I be doing something along the lines on this?... <Perl> use lib 'path-to-my-lib'; </Perl> PerlModule MyLib
Loader() will work to load these modules at parent httpd startup which is your performance gain, as long as it compiles the scripts that have the "use" statements in them. I would argue that its better however to explicitly precompile your perl modules separately in a PerlRequire startup.pl kind of file when you load the modules your application depends on. I just think its better form, so you have a centralized loading place for all your perl modules & you don't need to litter your scripts with use statements. Another fine place to centralize these calls is the global.asa which will also get precompiled with Loader() Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]