tokuhirom / plenv

Perl binary manager
Other
516 stars 71 forks source link

Support module installations using App::cpm #140

Open zakame opened 6 years ago

zakame commented 6 years ago

(This was useful to me for several months now, but may probably be redundant since IIRC there's a plan to put cpm's features into cpanm; if so, feel free to ignore/close this PR.)

This derives from plenv-install-cpanm and rehash_cpanm.bash scripts to use App::cpm instead.

Only particular change here is that cpm won't rehash the plenv shims unless it was invoked with -g|--global (which would seem to avoid issues like #82.)