[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    [patch] Apache::DB now works with 5.8.0+
From:       Stas Bekman <stas () stason ! org>
Date:       2002-11-29 10:09:15
[Download RAW message or body]

To all those having problems with Apache::DB and perl 5.8.0+ (CC'ing all 
those who have complained recently).

Try this patch:

--- Apache-DB-0.06/DB.pm.old	1999-10-12 07:50:33.000000000 +0800
+++ Apache-DB-0.06/DB.pm	2002-11-29 18:03:47.000000000 +0800
@@ -14,6 +14,7 @@
  $Apache::Registry::MarkLine = 0;

  sub init {
+    *DB::DB = sub {} unless DB->can("DB"); # temp definition for 5.8.0+
      if(init_debugger()) {
  	warn "[notice] Apache::DB initialized in child $$\n";
      }

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic