in reply to Re: Activestate Perl module upgrade assistance
in thread Activestate Perl module upgrade assistance

I believe typical activestate ppm installation will install in site/lib. Just make sure that your @INC is 'xxx/site/lib' and 'xxx/lib' where xxx is your base AS Perl installation directory. perl -e "print join \"\n\", @INC;"
  • Comment on Re^2: Activestate Perl module upgrade assistance

Replies are listed 'Best First'.
Re^3: Activestate Perl module upgrade assistance
by jand (Friar) on Jun 09, 2009 at 16:55 UTC
    PPM will install by default into the first writable directory in @INC. Or you can specify the installation directory using the --area xxxx option. Use
        ppm area list
    
    to get a list of the area names of your directories in @INC (normally just the last segment of the path for each directory, unless it is lib).

    And for ActivePerl site/lib is already in front of lib.

        Ok, that's true for releases before 5.8.8 build 818 or so. In Perl 5.8.8 ActivePerl switched to PPM4 which allowed updating core modules by putting them into site/lib, so the order of directories in @INC had to be changed to make this sane.

        Generally I try to pretend that Perl versions less than 5.8.8 do not exist anymore. Sometimes I even succeed. :)