Brethern

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?

throop


In reply to Where to unpack CPAN modules by throop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.