Re: Module::Build cannot check required version of Parse::RecDescent 1.95.1

[email protected] (Dominique Dumont)
Newsgroups perl.module.build
Message-ID <[email protected]>
[email protected] (John Peacock) writes:

> In order to map 5.006001 to v5.6.1, all numeric versions (like 1.90)
> are parsed as if there were three places to the right of the decimal
> point. So 1.90 is equivalent to 1.900.0 for comparison purposes, which
> is larger than 1.95.1.

This is confusing. Shouldn't 1.90 be mapped to 1.090.000 ?

And 1.95.1 to 1.095.001 ?

This way, the test would work fine

> Since you control this Build.PL (if I'm reading your email correctly),
> you only have the change this line:
>
> 	'Parse::RecDescent' => '1.90',
>
> to be
>
> 	'Parse::RecDescent' => '1.90.0',
>
> and you will be golden.

Yes, I can change this line. 

But it is confusing to be required to specify a version that does not
exists as is in Parse::RecDescent history. 

Furthermore, this dependency test works fine with MakeMaker so it is a
nasty surprise for people who are moving from MakeMaker to
Module::Build.

Can't this discrepancy between MakeMaker and Module::Build be fixed ?

HTH

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.