in reply to Question on installing modules in local dir using PREFIX

The precise location determined by PREFIX depends upon perl's configuration. Perhaps the new perl has been configured slightly differently, and it's that difference that accounts for the change to PREFIX.

Best way to avoid problems like this is to:
perl Makefile.PL INSTALL_BASE=/mylocal/path
I don't know whether that will put modules in the same place as the old PREFIX did, but it will not be dependent upon perl's configuration, and will remain the same from one build of perl to the next.

For further info, see the ExtUtils::MakeMaker documentation. (See the "INSTALL_BASE" and "PREFIX and LIB attribute" sections.)

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: Question on installing modules in local dir using PREFIX
by Anonymous Monk on Sep 27, 2010 at 18:37 UTC
    Thank you so much.
    I read the ExtUtils::MakeMaker documentation and looks like
    I should have been using INSTALL_BASE all along instead of PREFIX for what I was doing.
    Thank you again.