On Mon, 20 May 2002, Peter Rothermel wrote:

> I've run into a problem with mod_perl configuration instructions
> with for Registry scripts.  I've built mod_perl and copied the
> blib directly under my Apache2 (server root) directory.

sounds like a bug that has been fixed in cvs.  try the cvs version or wait 
for _02 or try the patch below.

Index: ModPerl-Registry/lib/ModPerl/RegistryCooker.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/ModPerl-Registry/lib/ModPerl/RegistryCooker.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ModPerl-Registry/lib/ModPerl/RegistryCooker.pm      13 Nov 2001 04:34:31 -0000     
 1.5
+++ ModPerl-Registry/lib/ModPerl/RegistryCooker.pm      16 Apr 2002 17:14:16 -0000     
+ 1.6
@@ -42,10 +42,11 @@
 # httpd.conf with:
 #   PerlSetVar ModPerl::RegistryCooker::DEBUG 4
 use Apache::ServerUtil ();
-use constant DEBUG =>
-    defined Apache->server->dir_config('ModPerl::RegistryCooker::DEBUG')
-        ? Apache->server->dir_config('ModPerl::RegistryCooker::DEBUG')
-        : D_NONE;
+use constant DEBUG => 0;
+#XXX: below currently crashes the server on win32
+#    defined Apache->server->dir_config('ModPerl::RegistryCooker::DEBUG')
+#        ? Apache->server->dir_config('ModPerl::RegistryCooker::DEBUG')
+#        : D_NONE;
 
 #########################################################################
 # object's array index's access constants

Reply via email to