win32: multi-versions after module update

M

Mark S Pryor

hello c.l.p.m,

Using Win2k sp3
Perl 5.6.1 build 626 from
http://theoryx5.uwinnipeg.ca/

I went and got the latest 6xx edition of
DB_File from the above repository. The install (via ppd)
works great.

Was it wrong to write
PPM install DB_File.ppd
when I want to update?

My question is why does PPM keep the old version of
this package? Now I have the original DB_File v1.72 in
/perl/lib and latest (v1.801) is in /perl/site/lib.

The problem is
use DB_File;

will access the old version.

This is a rare Perl annoyance. I checked the docs and
came up with this workaround:

use lib "c:/perl/site/lib";

Am I using PPM wrong?

tia,
msp
 
R

Randy Kobes

Mark S Pryor said:
hello c.l.p.m,

Using Win2k sp3
Perl 5.6.1 build 626 from
http://theoryx5.uwinnipeg.ca/

I went and got the latest 6xx edition of
DB_File from the above repository. The install (via ppd)
works great.

Was it wrong to write
when I want to update?

My question is why does PPM keep the old version of
this package? Now I have the original DB_File v1.72 in
/perl/lib and latest (v1.801) is in /perl/site/lib.

The problem is
use DB_File;

will access the old version. Am I using PPM wrong?

I think this is a general property of the ppm utility - it
will install a package under site/lib, even if it's a "core"
package that originally was under lib/. One thing you
could do is delete the old DB_File.pm under lib/ (or,
if you'd rather, rename it, in case you find you need it
in the future).

best regards,
randy kobes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top