(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.)
(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.)