in reply to Re^2: Wow! Painful upgrade to Perl 5.12
in thread Wow! Painful upgrade to Perl 5.12

Modules that aren't part of the core system are (unless overridden) installed in $LIBDIR/site_perl/<perl-version>/. Vendor (Linux distros for instances) supplied modules ought to go into $LIBDIR/vendor/<perl-version>. Core modules go into $LIBDIR/<perl-version>.

Replies are listed 'Best First'.
Re^4: Wow! Painful upgrade to Perl 5.12
by parv (Parson) on May 19, 2010 at 14:56 UTC
    (I should have noted that I understand the default directory tree structure.) Yes, that <perl-version> is what I am trying to avoid, so that when 5.13 would come around, 5.12 directory would be blown away & pure perl modules remain unaffected installed outside of <perl-version> directory.
      Possible. Just give it the appropriate configuration options when compiling Perl. I'd guess the appropriate options are mentioned and described in the INSTALL that comes with the core tarball.

      If you get your Perl from a third-party vendor (ActiveState, RedHat, ...), you should talk to them and see if they'll compile one for you.

      Having said that, what ought to work (but I won't make any promises) is:

      $ rm -rf $LIBDIR/site_perl/<old-perl-version>/<archdir> $ mv $LIBDIR/site_perl/<old-perl-version> $LIBDIR/site_perl/<new-perl- +version>