kilinrax has asked for the wisdom of the Perl Monks concerning the following question:
In the process of bundling up a load of perl modules for deployment on a load of production machines, I was reminded of the sheer volume of subdirectories that seem to exist under your install PREFIX:
devapp2:~/Modules/lib$ find * -type d | egrep -v [A-Z] | fgrep -v libw +ww-perl | sed -e 's/^.\///' site_perl site_perl/5.6.1 site_perl/5.6.1/sun4-solaris site_perl/5.6.1/sun4-solaris/auto 5.6.1 5.6.1/sun4-solaris 5.6.1/sun4-solaris/auto perl5 perl5/5.6.1 perl5/5.6.1/sun4-solaris perl5/5.6.1/sun4-solaris/auto perl5/site_perl perl5/site_perl/5.6.1 perl5/site_perl/5.6.1/sun4-solaris perl5/site_perl/5.6.1/sun4-solaris/auto
Now, obviously the $ARCH and $VERSION dirs make sense, as does 'auto'; but why the need for perl5 / site_perl / perl5/site_perl? And why are modules assigned seemingly at random between those 4 directories?
Apologies in advance if this is a FAQ; but it's something I first noticed a long time ago, and have yet to find1 any explanation for.
1: google is rather unhelpful here; searching for things like 'perl module install location perl5 site_perl' gives you lots of info / problems about installing specific perl modules, as one might expect.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl
by crenz (Priest) on May 09, 2003 at 20:46 UTC | |
Re: Perl module install sub-directories: perl5, site_perl, perl5/site_perl
by Abigail-II (Bishop) on May 09, 2003 at 21:41 UTC | |
by kilinrax (Deacon) on May 09, 2003 at 23:21 UTC | |
by PodMaster (Abbot) on May 10, 2003 at 04:21 UTC | |
by Abigail-II (Bishop) on May 10, 2003 at 11:49 UTC | |
by kilinrax (Deacon) on May 11, 2003 at 12:42 UTC |