in reply to module installation woes on a Mac

Hi! It looks for me like your cpan is using preinstalled perl (but i'm not shure). You could try to determine it by:

which cpan

As for me the best way to manage perl versions on unix is https://perlbrew.pl/. Install it, then perl and then cpanM!

Replies are listed 'Best First'.
Re^2: module installation woes on a Mac
by msh210 (Monk) on Jul 25, 2022 at 15:05 UTC
    % which cpan
    /opt/homebrew/bin/cpan
    % which cpanm
    /opt/homebrew/bin/cpanm
    
    $_="msh210";$"=$\;@_=@{[split//,uc]}[2,0];$_="@_$\1";$\=$/;++$_[0]for$...1;print lc substr crypt($_,"@_"),1,6