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


In reply to Re: How can I track down why perl 5.34.0 will install on one user account on macos with perlbrew and not another? by kcott
in thread 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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.