On Thu, Sep 29, 2011 at 01:00:39PM -0400, terryjames9461 via RT wrote:
Show quoted text>
> Right now I have this situation
>
> cpanp -o
> [MSG] Checking if source files are up to date
> [MSG] Retrieving /root/.cpanplus/sourcefiles.s2.30.c0.9111.stored
> 1 Unparsable Mail::SpamAssassin::Reporter
> KMCGRAIL
> 2 Unparsable 1.60 SVN::Core
> MSCHWERN
> 3 0.72 0.72 Shell
> FERREIRA
>
> I am told in IRC this is probably because of bugs. But I dont
> understand in what the bugs are? Is it Perl or CPANP or the Modules.
There are no bugs. 'Unparsable' simply means that either the particular
module has no version number ( a common occurance ) or that the module had
an version number that was invalid in some way ( this is less common ).
Mail::SpamAssassin::Reporter has the version number 'bogus' which is
invalid, therefore 'unparsable'
Perhaps the version of SVN::Core you have installed doesn't have a version
number.
As for Shell, this a special case. In the Perl version you have, Shell is a
core module, but it has been deprecated in core. This means that it has been
scheduled for removal from perl as a core module at some future point ( in fact
Shell was removed from core with the current development series of perl,
starting with v5.15.0, and will not be present in v5.16.0 and above ).
In order to facilitate this deprecation of core modules, the Perl toolchain,
ie. cpan, cpanp, etc., were taught to special case deprecated core modules.
I've just hunted out the discussions on the perl5-porters mailing list about
this:
Starting here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-03/msg00423.html
My description of CPANPLUS' behaviour is:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2010-03/msg00434.html
Really what you are seeing, is that Shell is in the 'core' lib location and is
being flagged as out of date by CPANPLUS because it is deprecated as a core module.
'Updating' Shell will install it into the 'site' lib location and you won't see this
again.
It seems that the deprecation warning was missing from the Shell that shipped with
v5.12.3, but it is there in v5.14.0
$ /usr/home/cpan/pit/bare/perl-5.14.0/bin/perl -w -MShell -e1
Shell will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at -e, line 0.
I hope this explains everything.
Many thanks,
--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================