Subject: | Bad $VERSION in CPANPLUS::Dist::Base |
In CPANPLUS v0.84, CPANPLUS::Dist::Base had an explicit version number
of 0.01. In v0.86, the $VERSION for CPANPLUS::Dist::Base is computed using:
$VERSION = $CPANPLUS::Internals::VERSION = $CPANPLUS::Internals::VERSION;
Aside from the fact that I don't understand the redundant assignment,
this doesn't work and leads to CPAN assigning 'undef' to this. As a
result, after upgrading to 0.86, CPAN will then tell you to "ugraded"
back to 0.84:
Package namespace installed latest in CPAN file
CPANPLUS::Dist::Base undef 0.01 KANE/CPANPLUS-0.84.tar.gz
Perhaps you need something like this instead:
$VERSION = eval 'use CPANPLUS::Internals; $CPANPLUS::Internals::VERSION';