http://qs321.pair.com?node_id=1229023


in reply to Installing Object::InsideOut fails with circular dependency on Math::Random::MT::Auto

At the CPAN shell, run:

o conf recommends_policy 0 o conf commit
  • Comment on Re: Installing Object::InsideOut fails with circular dependency on Math::Random::MT::Auto
  • Download Code

Replies are listed 'Best First'.
Re^2: Installing Object::InsideOut fails with circular dependency on Math::Random::MT::Auto
by Lotus1 (Vicar) on Jan 27, 2019 at 16:32 UTC

    Thanks. The install eventually worked after multiple attempts so won't use this right now but I was interested to learn about the CPAN configuration options. I found a description of recommends_policy at Config Variables. I found the location of CPAN/config.pm that CPAN is using along with the current value of recommends_policy from the CPAN shell like shown below. This also gave me the command o conf help.

    cpan> o conf $CPAN::Config options from C:\Strawberry\perl\lib/CPAN/Config.pm: commit [Commit changes to disk] defaults [Reload defaults from disk] help [Short help about 'o conf' usage] init [Interactive setting of all options] applypatch [] auto_commit [1] build_cache [50] build_dir [C:\STRAWB~1\cpan\build] build_dir_reuse [0] [...] recommends_policy [1] scan_cache [atstart] shell [C:\Windows\system32\cmd.exe] [...]