#730229 libmodule-starter-perl: $ExtUtils::MakeMaker::VERSION is not numeric in numeric ge

#730229#5
Date:
2013-11-22 21:35:11 UTC
From:
To:
When starting a fresh module with MakeMaker e.g. with

 module-starter --module Test -eumm --author "John Doe" --email "jdoe@example.com"

The Makefile.PL contains a test:

    ($ExtUtils::MakeMaker::VERSION >= 6.3002
      ? ('LICENSE'=> 'perl')
      : ()),


However, the $ExtUtils::MakeMaker::VERSION is a string '6.57_05'.

When running

 perl Makefile.PL

it prints an error:

 Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 6.

The solution is to use Revision instead of VERSION.

I'll attach a patch. It doesn't seem to affect the generated Makefile on my
system.