On Sunday, February 23, 2003, at 07:40 AM, Roland Bauer wrote:
Makefile.PL complains in line 25 about "6.06_02" not beeing numeric.

#---------------------------------------------------------

--- MakeMaker.pm_6.06_02        Tue Dec 24 05:46:24 2002
+++ MakeMaker.pm        Sun Feb 23 14:15:01 2003
@@ -2,7 +2,7 @@

BEGIN {require 5.005_03;}

-$VERSION = "6.06_02";
+$VERSION = 6.06_02;
 ($Revision = substr(q$Revision: 1.95 $, 10)) =~ s/\s+$//;

require Exporter;

#---------------------------------------------------------

That's not the right way to solve the problem, because the '_' will go away entirely. It's there to indicate that this is a beta version.


The following patch works:
===================================================================
RCS file: /home/schwern/cvs/ExtUtils-MakeMaker/Makefile.PL,v
retrieving revision 1.24
diff -u -r1.24 Makefile.PL
--- Makefile.PL 22 Dec 2002 03:13:15 -0000      1.24
+++ Makefile.PL 27 Feb 2003 14:35:02 -0000
@@ -23,7 +23,7 @@
 eval "require $PACKAGE";

unless ($@) { # Make sure we did find the module.
- print <<"CHANGE_WARN" if ${$PACKAGE.'::VERSION'} < $LAST_API_CHANGE;
+ print <<"CHANGE_WARN" if ${$PACKAGE.'::VERSION'} lt $LAST_API_CHANGE;


 NOTE: There have been API changes between this version and any older
 than version $LAST_API_CHANGE!  Please read the Changes file if you
===================================================================

-Ken



Reply via email to