Gentoo Archives: gentoo-perl

From: Chisel Wright <chisel@×××××××××××××.uk>
To: gentoo-perl@l.g.o
Subject: [gentoo-perl] g-cpan -u
Date: Mon, 14 Nov 2005 15:46:00
Message-Id: 20051114154449.GW4916@herlpacker.co.uk
Hi all,

I'm confused. (Not new, some might say)

What exactly does/should 'g-cpan -u' do? I was under the impression that
it would check all g-cpan installed perl modules and install newer
versions (if they exist).

So, why does the following happen:

---- cut here ----
thea ~ # g-cpan -u IO
 * g-cpan: Looking for IO...
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Mon, 14 Nov 2005 08:49:13 GMT
 * g-cpan: Checking ebuild for 'IO': IO
Running make for G/GB/GBARR/IO-1.22.tar.gz

*snip*

Manifying blib/man3/IO::File.3pm
Manifying blib/man3/IO::Socket::UNIX.3pm
Manifying blib/man3/IO.3pm
  /usr/bin/make  -- OK
Calculating dependencies ...done!
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. thea ~ # perl -MIO -e 'print IO->VERSION(), qq[\n];' 1.22 thea ~ # g-cpan -u IO * g-cpan: Looking for IO... CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 14 Nov 2005 08:49:13 GMT * g-cpan: Checking ebuild for 'IO': IO Running make for G/GB/GBARR/IO-1.22.tar.gz CPAN: LWP::UserAgent loaded ok *snip* ---- cut here ---- OK, so I upgrade IO, is appears to install successfully. I check what version of IO perl thinks I have installed. So, just to be sure, I tell g-cpan to upgrade IO. It then 'upgrades' from 1.22 to 1.22. Erm. I'm confused. It seems to be the same or similar with 'g-cpan -u' to try to upgrade everything. I'm not even sure if 'g-cpan -u' does anything or not. -- Chisel Wright e: chisel@×××××××××××××.uk w: http://www.herlpacker.co.uk/ No virus was found in this outgoing message as I didn't bother looking. -- gentoo-perl@g.o mailing list

Replies

Subject Author
Re: [gentoo-perl] g-cpan -u Chisel Wright <chisel@×××××××××××××.uk>
Re: [gentoo-perl] g-cpan -u Michael Cummings <mcummings@g.o>