in reply to How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?

G'day nysus,

The first thing that leapt out at me was:

Current perl: Using system perl. Shebang: #!/usr/bin/perl

That looks very wrong to me. One the main reasons for using perlbrew is that you avoid messing with the system perl.

I used to use perlbrew on macOS but haven't since about 2018/2019. I no longer have the Mac machine, so can't help with any direct testing. I do not recall output like that, but that's just a 4-5 year old memory.

I'm currently running perlbrew on Cygwin. I get:

$ perlbrew info Current perl: Name: perl-5.34.0 Path: /home/ken/perl5/perlbrew/perls/perl-5.34.0/bin/perl ...

What does `perlbrew info` output when run from the new (apparently, problem-free) account?

Did you accidentally `perlbrew switch` to the system perl on the old (problematic) account? If so, try switching to the last working perlbrew perl version and see if that helps.

— Ken

  • Comment on Re: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another?
by nysus (Parson) on Jan 07, 2022 at 14:46 UTC

    I don't think this is the issue. It just means I have perlbrew swithced off. When I install 5.34.0 with the second account, I am also using system perl because no other perl is installed.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks