Re: [ANNOUNCE] mod_perl 2.0.0-RC5
[prev]
[thread]
[next]
[Date index for 2005/04/15]
This is a multi-part message in MIME format.
--------------080303020106050600080303
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
and here against current svn-trunk.
Tom
Tom Schindl schrieb:
| 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
iD8DBQFCX4gKkVPeOFLgZFIRAvz/AKCAlyRH0ApHjAAHsNUMhTYYdynYSwCgq+Kx
aZZv1fQFVmlGfERSBJPesqA=
=2vtQ
-----END PGP SIGNATURE-----
--------------080303020106050600080303
Content-Type: text/x-patch;
name="Makefile.PL.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Makefile.PL.patch"
Index: Makefile.PL
===================================================================
--- Makefile.PL (Revision 161424)
+++ Makefile.PL (Arbeitskopie)
@@ -13,8 +13,8 @@
BEGIN {
eval {
+ my $old_mp2 = eval { require Apache2 };
require mod_perl;
- 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'};
--------------080303020106050600080303--
 |
(message missing)
|