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
1 Hi all,
2
3 I'm confused. (Not new, some might say)
4
5 What exactly does/should 'g-cpan -u' do? I was under the impression that
6 it would check all g-cpan installed perl modules and install newer
7 versions (if they exist).
8
9 So, why does the following happen:
10
11 ---- cut here ----
12 thea ~ # g-cpan -u IO
13 * g-cpan: Looking for IO...
14 CPAN: Storable loaded ok
15 Going to read /root/.cpan/Metadata
16 Database was generated on Mon, 14 Nov 2005 08:49:13 GMT
17 * g-cpan: Checking ebuild for 'IO': IO
18 Running make for G/GB/GBARR/IO-1.22.tar.gz
19
20 *snip*
21
22 Manifying blib/man3/IO::File.3pm
23 Manifying blib/man3/IO::Socket::UNIX.3pm
24 Manifying blib/man3/IO.3pm
25 /usr/bin/make -- OK
26 Calculating dependencies ...done!
27 >>> Auto-cleaning packages ...
28
29 >>> No outdated packages were found on your system.
30
31
32 * GNU info directory index is up-to-date.
33
34
35
36 thea ~ # perl -MIO -e 'print IO->VERSION(), qq[\n];'
37 1.22
38
39
40 thea ~ # g-cpan -u IO
41 * g-cpan: Looking for IO...
42 CPAN: Storable loaded ok
43 Going to read /root/.cpan/Metadata
44 Database was generated on Mon, 14 Nov 2005 08:49:13 GMT
45 * g-cpan: Checking ebuild for 'IO': IO
46 Running make for G/GB/GBARR/IO-1.22.tar.gz
47 CPAN: LWP::UserAgent loaded ok
48
49
50 *snip*
51 ---- cut here ----
52
53
54 OK, so I upgrade IO, is appears to install successfully. I check what
55 version of IO perl thinks I have installed.
56
57 So, just to be sure, I tell g-cpan to upgrade IO. It then 'upgrades'
58 from 1.22 to 1.22.
59
60 Erm.
61
62 I'm confused.
63
64
65 It seems to be the same or similar with 'g-cpan -u' to try to upgrade
66 everything.
67 I'm not even sure if 'g-cpan -u' does anything or not.
68
69 --
70 Chisel Wright
71 e: chisel@×××××××××××××.uk
72 w: http://www.herlpacker.co.uk/
73
74 No virus was found in this outgoing message as I didn't bother looking.
75 --
76 gentoo-perl@g.o mailing list

Replies

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