Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

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...

Replies are listed 'Best First'.
Re: private lib dirs in 5.6.1
by cadphile (Beadle) on May 07, 2001 at 23:52 UTC
    This post was made by me, but in a window in which I hadn't logged in yet. --Cadphile...