Maxim Abalenkov <maxim.abalen...@gmail.com> writes:

> Now everything works. But I still don’t understand the setup very
> well. What is the difference between the ‘.cpan’ and ‘perl5’
> directories? What is their purpose? Thank you and have a great day
> ahead!

The directory ~/.cpan/ is where the command `cpan` saves its local
states, intermediate files, download cache, configurations... etc.

The directory ~/perl5/ is a conventional place where local::lib-based
installations are stored. It is where local::lib code would look find
some receipts of what's installed inside and print out those env vars
as the mechnism to tell `perl` to also find modules under ~/perl5/.

--
Cheers,
Kang-min Liu

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to