tokuhirom / plenv

Perl binary manager
Other
516 stars 71 forks source link

"man perl" shows system Perl manual under local Perl dir (.perl-version) #158

Open xcodejoy opened 5 years ago

xcodejoy commented 5 years ago

Hello,

I created a dir for my project; executed "plenv local 5.30.1" (.perl-version was created); executed "man perl" and I see system Perl man-page

But, "perldoc perl" shows correct local Perl version, and "perl -v" shows correct local Perl version

xcodejoy commented 5 years ago

Perhaps, "man perl" reads system manual pages. And it is not the issue for plenv. But, how to make it ("man") read my local manual pages?

Grinnz commented 5 years ago

You can affect the search paths for man by setting MANPATH as described in man man.

mikkoi commented 2 years ago

Plenv plugin to solve the issue: plenv-man