http://qs1969.pair.com?node_id=682110


in reply to Re^2: Installing modules to a private module directory
in thread Installing modules to a private module directory

Did you actually try this?
otherwise i wouldn't ask.
maybe i just don't get it, but it has always worked for me to install my modules with setting PREFIX and LIB. i just asked for an example. show me a module where it doesn't work. that's all i asked for. i would be really interested because i use the PREFIX/LIB method for my cgipan script and i would like to correct it if it has got a mistake.
in your blog you gave the reason why it doesn't work to set PREFIX. but you didn't say that using PREFIX and LIB together fails.
  • Comment on Re^3: Installing modules to a private module directory

Replies are listed 'Best First'.
Re^4: Installing modules to a private module directory
by jdporter (Paladin) on Apr 22, 2008 at 13:17 UTC

    You might try DBI. That seems to be at least one example case, based on the context given in his blog.

      You might try DBI.
      it works here on my machine:
      $ perl Makefile.PL PREFIX=/tmp/foo LIB=/tmp/foo/lib $ make $ make install $ perl -wle' use lib "/tmp/foo/lib"; use DBI; print $INC{"DBI.pm"}' /tmp/foo/lib/i486-linux-gnu-thread-multi/DBI.pm