perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Mak <>
Subject Re: %config in Apache::ASP->Loader
Date Sat, 24 Jan 2004 22:24:07 GMT
On Sat, Jan 24, 2004 at 11:07:30AM -0800, Josh Chamas wrote:
> >If I leave the %config hash empty, will Apache::ASP->Loader use the
> >values of Global and GlobalPackage from httpd.conf? Or do I have to
> >set those manually to the same values that I have in httpd.conf?
> You have to set them manually to the same values that you have in
> httpd.conf.

Hrm, I guess with the way configuration files are parsed, at the time is being executed it does not have access to the PerlSetVar

> To confirm whether the Loader() config really worked, set Debug -1
> while running Apache::ASP a script, so that you can see that the
> scripts have already been compiled for the first requests against
> your site.

I tried that (I assume you meant Debug -1 in httpd.conf, not the
Loader() %config?), but I got lost in the sheer volume of output. Is
there a string (e.g. "compiling") that I can grep for?

> Also note that includes will be compiled as well, if they are loaded
> with <!--#include ... --> or $Response->Include, but not if they are
> loaded with $main::Response->Include as the parser is not smart
> enough to pick those up when Loader() is called.

So, that means if I use a script via $main::Response->Include(), I
should make sure that script is explicitly compiled by the Loader()

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message