in reply to CPAN: quick help with user-space install needed

I don't know which magicl knob you have to turn to make it work - it never worked for me when I tried it on my own.

But luckily local::lib can do the magical knob turning for you - with it local modulation installation has always worked for me.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: CPAN: quick help with user-space install needed

Replies are listed 'Best First'.
Re^2: CPAN: quick help with user-space install needed
by isync (Hermit) on Oct 11, 2010 at 12:00 UTC
    As I see it "local::lib" is what you use when you run a script relying on modules in another location.

    My problem arises while *installing* a module in a path differing from the standard locations. (The error here is that CPAN is trying to write a part of the module's files into the standard path, a path I have no rights to write to...)
      local::lib does influence the installing process of modules (hey, even the synopsis shows its usage together with CPAN.pm!). And as I said before, it worked for me (both for the installing and using modules).
        You are right with local::lib + CPAN - sorry for that!

        But: I was close with my "configure cpan with PREFIXes" approach, but as it turned out, getting local::lib to run is a different beast - at least for me - I wasn't able to do it after 20mins...

        Anyone advice to my original question? (..while I continue trying to get local::lib to install locally..)