[~] # perl -MYAML -E 'say $INC{"YAML.pm"} # Please' /opt/lib/perl5/site_/5.14.2/YAML.pm # you're welcome!

To be honest, I am confused about library path settings
During perl install I was asked this question and entered config as shown below:

1. Pathname where the private library files will reside? (~name ok) [/opt/lib/perl5/5.14.2]

-->so is this the same as the cpan <mbuildpl_arg> setting...so if not already set, when using CPAN should I set:

cpan> o conf makepl_arg "PREFIX=/opt"

2. Another question during the perl install was:

Pathname for the site-specific library files? (~name ok) [/opt/lib/perl5/site_/5.14.2]

--> does this relate to any of the 'o conf' settings?

3. Another question I have is...can you set such parameters as cpan's <cpan_home>, <build_dir>, <mbuildpl_arg> or <makepl_arg> during a tarball installation of perl?
The problem is that I am installing it on a qnap NAS device in which /root is on a RAM drive with limited space. You can't accept the default settings. I was hoping to write the steps up on the qnap forum.

4. A final question which arose from another posting here is, should I have set:

cpan> o conf mbuildpl_arg "--install_base /opt"

and how does this differ from

cpan> o conf makepl_arg "PREFIX=/opt" )

?

Thanks


In reply to Re^2: duplicate modules any concern? by compused
in thread duplicate modules any concern? by compused

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.