Josh,
In response to my questions regarding precompiled and preloaded perl modules and
asp scripts you wrote:
> One of two strategies result in the optimal compiling of subs
> in the parent httpd, automatically shared with all child forks
> off the web server:
> 1) normal mod_perl load directives like
> # httpd.conf
> <Perl>
> use lib qw($CustomLibDir);
> <Perl>
> PerlModule $ModuleName
>
> - or -
>
> # httpd.conf
> PerlRequire some_loader.pl
> ...
> # some_loader.pl
> use lib qw($CustomLibDir);
> use $ModuleName;
>
>
>2) Precompile ASP scripts, and have global.asa load modules
>
> # httpd.conf
> <Perl>
> Apache::ASP->Loader($path, $pattern, %config)
> </Perl>
> then in global.asa pointed to by %config:
> # global.asa
> use lib qw($CustomLibDir);
> use $ModuleName;
I have used the second strategy to precompile ASP scripts with a $pattern
argument of "(pm|asp)\$" for ASP->Loader in httpd.conf. But I'm having trouble
loading the asp scripts in global.asa.
It seems the use lib/use $ModuleName pragma is only intended for perl modules
(*.pm) since I can't seem to pass the syntax checker when I attempt to use asp
scripts like so:
use ADKvalLogon.asp;
Am I missing something here?
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]