Re: [ANNOUNCE] mod_perl 2.0.0-RC5

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

From: Tom Schindl
Subject: Re: [ANNOUNCE] mod_perl 2.0.0-RC5
Date: 09:18 on 15 Apr 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch I submitted was against the Makefile.PL included into the
distro rc5 and there it read the following:

- --------------------8<--------------------
my $old_mp2 = eval { require Apache2 };
require mod_perl;
if( .... ) {
....
}
- --------------------8<--------------------

Philip M. Gollucci schrieb:
| 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
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCX4bhkVPeOFLgZFIRAuYzAJ97dZv7vbb4o07/Druw5m89HBQ/qACgr7lO
k5nn2WfyKSEoqq1hj4M3H5k=
=85Qs
-----END PGP SIGNATURE-----

(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