in reply to Re^5: cpan fails when MKS installed on Windows (HKCU\Software\Microsoft\Command Processor)
in thread [Solved]: cpan fails when MKS installed on Windows

Clearly $^X is not affected. ...

$^X is not cmd.exe

makemaker/dmake/cpan... all call the shell for one reason or another

The shell is cmd.exe

The shell is

perl -V:sh sh='cmd /x /c';

You could change it to "cmd /d /c" or "cmd /e:off /c" or some such, but I've never seen it used in real life

It might work

  • Comment on Re^6: cpan fails when MKS installed on Windows (HKCU\Software\Microsoft\Command Processor disable with cmd /d /c)
  • Download Code