in reply to CPAN module for user level CPAN module installs?

local::lib. Nice!

  • Comment on Re: CPAN module for user level CPAN module installs?

Replies are listed 'Best First'.
Re^2: CPAN module for user level CPAN module installs?
by redhotpenguin (Deacon) on Jun 09, 2009 at 23:02 UTC
    Nice indeed. Ideally I would want something that I don't have to do any work, it just does what I mean. But I guess for that you would have to overload strict or warnings, and set the local lib there (since you couldn't guarantee any other modules would be loaded.
    There are some possible downsides, but it would be oh so nice to have.

      It mostly does what you want. You have to setup your shell vars and stuff but there are shortcuts in the doc to do that. You can also bootstrap it without needing an admin to put it in. I've done it on a couple different hosts for several different accounts and been really pleased/surprised. In part the best thing about it is just that it normalized the procedure. I was doing it ad hoc on every account, which sounds like the same hassle you were going through, and now even if it's more work than sudo cpan Module List at least it's sane and predictable everywhere I use it.