Brothers and Sisters, I have just taken my vows and joined the monastery. I'm glad to be here! Now,

I just installed perl 5.6.1 to replace my very old version 5.003. Everything went pretty well, except that there's a new lib location that I had never seen before. After installation, when I look at the release (installation) directory, I see:
[mountain]/usr/local/perl/5.6.1 38> find . -name "lib.pm" ./lib/private/lib.pm ./lib/private/private/lib.pm ./lib/lib.pm
What are these  private directories, and can I delete them?? I've searched for more discussion of these, but can't find much explanation about them. The Configure file has the following prompt:
There are some auxiliary files for $package that need to be put into a private library directory that is accessible by everyone. Pathname where the private library files will reside?

Secondly, when I run perl -V on the resulting new binary, I get the following (edited to just show the @INC values):
Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at May 7 2001 00:16:23 @INC: /usr/local/perl/5.6.1/lib/sun4-solaris /usr/local/perl/5.6.1/lib /usr/local/perl/5.6.1/lib/site_perl/sun4-solaris /usr/local/perl/5.6.1/lib/site_perl /usr/local/perl/5.6.1/lib/site_perl /usr/local/perl5/lib .
Apparently, the private directories are not part of the installation, but note that the line /usr/local/perl/5.6.1/lib/site_perl showed up twice! So my question here is can I clean up the value of @INC after the build and installation?

Peace -- CadPhile...

In reply to private lib dirs in 5.6.1 by Anonymous Monk

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.