perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: Version numbers in CPAN shell
Date Sun, 20 Mar 2005 21:00:58 GMT
On Sun, 20 Mar 2005, Markus Wichitill wrote:

> Hi,
>
> a recent change (rename branch) in ModPerl::BuildMM trips the CPAN shell's
> reinstall-recommendations command:
>
> cpan> r
> CPAN: Storable loaded ok
> Going to read /var/cpan/Metadata
>    Database was generated on Sat, 19 Mar 2005 13:40:52 GMT
>
> Package namespace         installed    latest  in CPAN file
> F/FL/FLUFFY/Class-MethodMaker-2.06.tar.gz
> Could not eval '
>        package ExtUtils::MakeMaker::_version;
>        no strict;
>
>        local $ExtUtils::MakeMaker::VERSION;
>        $ExtUtils::MakeMaker::VERSION=undef; do {
>          my $pm_to_blib = ($ExtUtils::MakeMaker::VERSION >= 6.22 &&
>        }; $ExtUtils::MakeMaker::VERSION
>    ' in /usr/local/perl/lib/ModPerl/BuildMM.pm: syntax error at (eval 485)
> line 8, at EOF
> ModPerl::MethodLookup         undef     0.009
> G/GO/GOZER/mod_perl-2.0.0-RC4.tar.gz

Does the following help?
=================================================================
Index: lib/ModPerl/BuildMM.pm
===================================================================
--- lib/ModPerl/BuildMM.pm	(revision 158347)
+++ lib/ModPerl/BuildMM.pm	(working copy)
@@ -194,8 +194,7 @@
     # create a dependency on pm_to_blib subdirs linkext targets to
     # allow 'make -j'
     require ExtUtils::MakeMaker;
-    my $pm_to_blib = ($ExtUtils::MakeMaker::VERSION >= 6.22 &&
-                      $ExtUtils::MakeMaker::VERSION <= 6.25 )
+    my $pm_to_blib = ($ExtUtils::MakeMaker::VERSION >= 6.22 && $ExtUtils::MakeMaker::VERSION
<= 6.25 )
         ? "pm_to_blib.ts"
         : "pm_to_blib";
     my @target = ("glue_pods: $pm_to_blib subdirs linkext");

======================================================================

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message