in reply to Re^6: CPAN failing to install PAR::Package
in thread CPAN failing to install PAR::Package

Looks like we found the problem:

'PERL_MM_OPT' => 'INSTALL_BASE=C:\\Users\\U0159691\\perl5',
  1. right-click "My Computer" and select "Properties"
  2. find the "Advanced" system settings (tab along the top or option at the left)
  3. click "Environment Variables"
  4. find the PERL_MM_OPT variable and delete it
  5. reboot since hey it's Windows
  6. try the installation via cpan or cpanm again

If you can't find it, it's likely being set in some custom config / startup file somewhere, which might be a little harder to track down unless you know where it is.

As a side note, you could remove C:\Users\U0159691\perl5\bin from your PATH while you're at it.

Replies are listed 'Best First'.
Re^8: CPAN failing to install PAR::Package
by Keiichi (Initiate) on Jun 18, 2014 at 13:53 UTC
    Fantastic! It worked.

    Thanks again for your help.