Subject: | Doc snippet for lib::core::only does not work |
I noticed that the docs for lib::core::only suggest that this is possible:
perl -Mlib::core::only -Mlocal::lib=~/perl5 ...
But that fails because local::lib cannot be loaded:
$ perl -Mlib::core::only -Mlocal::lib=~/perl5 -ce 1
Can't locate local/lib.pm in @INC [...]
Until such a time as it is in core, the following would have to be used
instead:
perl -Mlocal::lib -Mlib::core::only -Mlocal::lib=~/perl5 ...