Well, that doc does say:
A list of directories in which to look for Perl library files before looking in the standard library and the current directory.
I guess it maybe wrongly assumes that the reader can translate "the standard library and the current directory" to mean @INC, but it does say explicitly what happens to @INC when you set PERL5LIB ...
Probably could be clarified by adding a sentence stating that @INC will be modified by setting this environment variable.
You can make the change to the docs yourself and get it into the next release of Perl, by forking, editing and making a pull request on GitHub ...
In reply to Re^2: Need way to override PERL5LIB from inside pl script file
by 1nickt
in thread Need way to override PERL5LIB from inside pl script file
by nmork
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |