PS> cpanm --self-upgrade
You are running cpanm from the path where your current perl won't install executables to.
Because of that, cpanm --self-upgrade won't upgrade the version of cpanm you're running.
cpanm path : C:\Programs\Strawberry\perl\site\bin\cpanm.bat
Install path : C:\Programs\STRAWB~1\perl\site\bin
It means you either installed cpanm globally with system perl, or use distro packages such
as rpm or apt-get, and you have to use them again to upgrade cpanm.
我如何 (a) 让 cpanm 理解这些是相同的路径,或者 (b) 更改配置的 Perl 可执行安装路径?