Once I found this new location, I was able to delete the new .cpan directory and replace it with a symlink to my old ~/.cpan. Now I can get back to building modules as a non-privileged user into a local::lib based configuration.
Delete empty new .cpan directory and replace with a symlink to my old .cpan:
rm -rf $HOME/.local/share/.cpan && ln -s $HOME/.cpan $HOME/.local/share/
1 comment:
Yo Mr. Grangaard, thank for that solution. Small world, I was just searching for this and you were first in search. Good find and thanks for the solution (was banging my head against why cpan could not find ~/.cpan/CPAN/MyConfig.pm) This is an odd issue. Wonder if its Debian specific. I'm on Ocelot.
Post a Comment