in reply to DBD::MySQL

You ought to give the --prefix when doing the Configure, as the install path is compiled into the binary (because the default @INC is derived from it).

However, I'm not sure what you mean by "Perl5.8.1 is located now at /usr/lib/perl5/5.8.1". Do you mean every file related to Perl, including the binaries? That's an odd setup. But if you mean the libraries/modules, than that's normal. 5.8.1 libraries go into /usr/lib/perl5/5.8.1, 5.8.7 libraries go into /usr/lib/perl5/5.8.7, and perl5.8.7 will still be able to use the libraries from /usr/lib/perl5/5.8.1.

Replies are listed 'Best First'.
Re^2: Upgrading Perl
by dam1an (Initiate) on Jul 06, 2005 at 10:28 UTC
    I mean librares/modules.
    And how should I correctly remove perl-5.8.7 which I installed few days ago? Is #rm -r /usr/local/lib/perl5 a good way?

    To install it in the write directory I'm going to use this code
    #cd /usr/src/perl-5.8.7 #Configure -d --prefix=/usr/lib/perl5 #cd /usr/lib/perl5 #make #make test #make install
    Is this correct?
    --

    wbr damian