CC: | win32-vanilla [...] perl.org, Module-Build <module-build [...] perl.org>, Michael G Schwern via RT <bug-CPANPLUS [...] rt.cpan.org> |
Subject: | Re: To use Module::Build from CPANPLUS in Strawberry Perl 5.10.0.3, add two more 0s to the end of the $VERSION declaration in Module::Build. |
Date: | Thu, 30 Oct 2008 20:04:49 -0700 |
To: | Elliot Shank <perl [...] galumph.com> |
From: | Michael G Schwern <schwern [...] pobox.com> |
Elliot Shank wrote:
Show quoted text
> Here's a hint as to why. Have a look at the output of
>
> perl -Mversion -E "say qv('0.30')->numify(); say
> qv('0.3000')->numify();"
>
> CPANPLUS uses Module::Load::Conditional, which uses version.pm to
> compare versions and finds the installed Module::Build lacking.
>
>
> The fix is to change line 18 in Module/Build.pm from
>
> $VERSION = '0.30';
>
> to
>
> $VERSION = '0.3000';
This would seem to be a bug in CPANPLUS and/or version.pm, there's nothing
wrong with a $VERSION of '0.30'.
--
Whip me, beat me, make my code compatible with VMS!