Re: [ANNOUNCE] mod_perl 2.0.0-RC5

[prev] [thread] [next] [Date index for 2005/04/15]

From: Philip M. Gollucci
Subject: Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Date: 08:38 on 15 Apr 2005
Tom Schindl wrote:
Index: Makefile.PL
===================================================================
--- Makefile.PL (revision 161423)
+++ Makefile.PL (working copy)
@@ -14,8 +14,8 @@
  BEGIN {
      eval {
          require mod_perl;
+        if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
          my $old_mp2 = eval { require Apache2 };
-        if ($mod_perl::VERSION < 1.999_22 && $old_mp2) {
              $old_modperl_version = $mod_perl::VERSION;
              $old_modperl_pm = delete $INC{'mod_perl.pm'};
          }
That can't work for at least 1 reason:
in the if() $old_mp2 is going to cause an undefined variable
error messasge thus causing the if's code to _never_ be executed as the 
error will be caught by the eval.


I'll try to duplicate this soonish error locally soonish.

HTH


        -- 
        END
------------------------------------------------------
Philip M. Gollucci (pgollucci@xxxxxx.xxx) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
	http://www.liquidityservicesinc.com

(message missing)

[ANNOUNCE] mod_perl 2.0.0-RC5
Geoffrey Young 13:43 on 14 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 06:37 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Fred Moyer 06:43 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 07:19 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:38 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:51 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:18 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Geoffrey Young 12:55 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 08:29 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:23 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Tom Schindl 09:26 on 15 Apr 2005

Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Philip M. Gollucci 11:17 on 15 Apr 2005

Generated at 12:49 on 16 Apr 2005 by mariachi v0.52