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/^.\///'
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.