Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 40550
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: perl [...] galumph.com
schwern [...] pobox.com
xdaveg [...] gmail.com
Cc:
AdminCc:

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



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!
CC: "Elliot Shank" <perl [...] galumph.com>, 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 23:08:49 -0400
To: "Michael G Schwern" <schwern [...] pobox.com>
From: "David Golden" <xdaveg [...] gmail.com>
Does it work with plain old CPAN.pm? -- David On Thu, Oct 30, 2008 at 11:04 PM, Michael G Schwern <schwern@pobox.com> wrote: Show quoted text
> Elliot Shank wrote:
>> 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! >
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 22:58:28 -0500
To: Michael G Schwern <schwern [...] pobox.com>
From: Elliot Shank <perl [...] galumph.com>
Michael G Schwern wrote: Show quoted text
> This would seem to be a bug in CPANPLUS and/or version.pm, there's nothing > wrong with a $VERSION of '0.30'.
My vote is the latter. CPANPLUS doesn't even have a way to work around it; if there were to a workaround, it would need to be in Module::Load::Conditional.
On Thu Oct 30 23:05:57 2008, schwern@pobox.com wrote: Show quoted text
> Elliot Shank wrote:
> > 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 update to the latest M::L::C, and not a CPANPLUS issue. Resolving the ticket.