logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

g-cpan -u: msg#00005

Subject: g-cpan -u
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@xxxxxxxxxxxxxxxx
w: http://www.herlpacker.co.uk/

No virus was found in this outgoing message as I didn't bother looking.
-- 
gentoo-perl@xxxxxxxxxx mailing list




<Prev in Thread] Current Thread [Next in Thread>