|go ahead... be a heretic|
Where to unpack CPAN modulesby throop (Chaplain)
|on Dec 14, 2006 at 23:03 UTC||Need Help??|
throop has asked for the wisdom of the Perl Monks concerning the following question:
For those of us without root permissions, where shoud we unpack the CPAN modules?
I've got a directory, where I keep my Perl; it's ~/perl. I unzipped a bunch of CPAN modules into it; each created its own directory. Inside each of those directories, I ran the 'make'. Module-Dependency is typical: In ~/perl/Module-Dependency-1.86 I have a bunch of scripts that came with the distribution (plus a few more I built) a lib/ directory (with the original distribution) and a blib/lib directory (with copies created by the make, etc.)
When I direct Module::Dependency to run on its own codebase (sure, why not?) I get lots of warnings. Starting at ~/perl/Module-Dependency-1.86 it runs down both lib and blib/lib. It finds duplicates of every file and scolds me.
This makes me think that I have chosen my directory structure unfortuneately. Is this a usual enough place to unzip my files and to make them? Or is there a more standard and convenient choice?