James I Hightower wrote:
> 
> >
> >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.
> 

"use Apache::ASP" is what I mean... use is only for perl modules, it
does not work for Apache::ASP scripts.  Apache::ASP->Loader() is the only 
mechanism for compiling Apache::ASP scripts before the execution phase.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to