[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ModPerl::RegistryLoader doesn't compile from the command line


On Fri, 2006-08-18 at 11:00 -0700, Max Kanat-Alexander wrote:
> 	This is not a problem when Apache uses the module, only when you try to
> compile a command-line script that uses ModPerl::RegistryLoader.

You can't do that.  These are APIs to apache internals.  They don't work
without the httpd environment.

> 	Why would I want to do that, you ask? Well, we have a test suite that
> makes sure all our scripts compile.

You need to use Apache-Test for the mod_perl bits if you want to do
that.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.