Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Simple CPAN distribution.

Report information
The Basics
Id: 33626
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.75
Fixed in: (no value)



Subject: [FIX] Non-numeric version problem in Makefile.PL
The following line in Makefile.PL: ($ExtUtils::MakeMaker::VERSION >= 6.31 ? (LICENSE => 'perl') : ()), Causes the following error in blead: Argument "6.43_01" isn't numeric in numeric ge (>=) at Makefile.PL line 44. This is because $ExtUtils::MakeMaker::VERSION is "6.43_01". Using a string comparison, instead, eliminates the problem: (($ExtUtils::MakeMaker::VERSION gt '6.31') ? ('LICENSE' => 'perl') : ()),
I've applied a different fix that CPAN.pm and other things use: eval $VERSION if $VERSION =~ /_/. this means we can keep using >=, which is more correct.