in reply to Re: What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?
in thread What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?

See is_tested:

is_tested
List all build directories of distributions that have been tested successfully but have not yet been installed. See also install_tested.

So it seems you are testing modules without installing them.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re^2: What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?
  • Download Code

Replies are listed 'Best First'.
Re^3: What is cpan (the installer) doing prepending all these directories to the PERL5LIB path?
by ikegami (Patriarch) on Feb 24, 2026 at 14:38 UTC

    It's the modules that were tested but not installed during a session. At least according to my testing, the list isn't persistent. Exiting the shell resets the list. This also means it doesn't apply to cpan -t MODULE