Properly setting my PERL5LIB for CPAN modules

V

vfoley

Hello,

I am a new Perl programmer and I would need some help with CPAN
modules. During the configuration part of CPAN, I asked that the
modules be installed in ~/perl. This gave me a directory structure,
however I am not sure which directory/ies I should put in my PERL5LIB
variable. This is the current setup:

perl/
lib/
perl/
5.8.7/
auto/
Term/
ReadKey/
Date/
Manip/
Term/
share/
perl/
5.8.7/
Date/
man/
man3/

Should I add only the top-most perl directory and Perl will recursively
check down that directory, or do I need to specify something like
"~/perl/lib/perl/5.8.7" ?

I'm also curious on the difference between lib and share.

Thank you for you time,

Vincent.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top