Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Understanding Perl / Brew Perl and Cpan on macOS

by marto (Archbishop)
on Apr 03, 2020 at 11:34 UTC ( #11114985=note: print w/replies, xml ) Need Help??


in reply to Re: Understanding Perl / Brew Perl and Cpan on macOS
in thread Understanding Perl / Brew Perl and Cpan on macOS

"The problem is that it is the system Perl and is installed by Apple for their use."

Just an FYI, in future releases Perl (among others) won't be installed by default.

  • Comment on Re^2: Understanding Perl / Brew Perl and Cpan on macOS

Replies are listed 'Best First'.
Re^3: Understanding Perl / Brew Perl and Cpan on macOS
by kcott (Bishop) on Apr 03, 2020 at 22:22 UTC

    G'day marto,

    Thanks for that piece of information. Since I dropped macOS usage, I haven't kept abreast of that type of news.

    My understanding is that Perlbrew requires Perl to be present for its initial installation. Subsequent work with Perlbrew — upgrading, installing new Perls, etc. — can utilise a Perl already installed by Perlbrew. I've used Perlbrew for a very long time and have always had some sort of system Perl to kickstart the process, this includes: macOS as just described; Cygwin on my current and past setups; and, Linux on my $work machine.

    I had a look at "Perl Download". From what it has there, it looks like ActiveState Perl might be the best way to install an initial Perl from which Perlbrew can be run. The Mac Pro that I previously had has been cannibalised to the extent of being completely non-operational; I have no way of running macOS at the present time.

    For future reference by those starting with macOS v10.15, or a later version, it would be helpful it someone could comment on the best way to start the Perlbrew process.

    — Ken

      Hey Ken, I'm not a Mac guy either, however rather than go down the AS route I think installing perl via brew would be better for the getting an initial version on the system, given that ActiveState now want you to have an account with them to download, and the version is old (5.28 at time of writing).

        I was curious about the ActiveState account creation process and whether that simply required an email address, for identification and confirmation purposes, or if it also wanted phone numbers, credit card details, date of birth, and such like. I followed the "ActiveState Perl" link in "Perl Download" (Mac OS X section) and was presented with:

        This site is blocked due to a phishing threat.

        www.activestate.com

        Phishing is a fraudulent attempt to get you to provide personal information under false pretenses. ...

        Sorry, www.activestate.com has been blocked by your network administrator.

        Given I'm running this from a Win10 platform, I also tried the "ActiveState Perl" link in the Windows section: I got the same result.

        Just for completeness, I tried the link with the same name from the Unix section. This time I got:

        Warning: Potential Security Risk Ahead

        Firefox detected a potential security threat and did not continue to www.activestate.com. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details. ...

        I did notice that the URLs in the Mac OS X and Windows sections had http:, while the one in the Unix section had https:. I copied the address from the Mac OS X section link, pasted it into a fresh tab, and added an 's', i.e. http: changed to https:: I now get the same result as I did for Unix (above).

        Obviously, that's not a very encouraging start. I had no such issues with the "perl via brew" link that you posted.

        I'm running Firefox 74.0 (64-bit) and have been for some time without any problems. I downloaded a newer version late yesterday but need to restart to complete the update. I'll advise if that makes any difference.
        Update (Firefox version): I now have Firefox 74.0.1 (64-bit). I retried everything mentioned above: no change.

        — Ken

      If in future versions of MacOS Perlbrew no longer works, then I suspect Homebrew probably is the best place to get at least an initial replacement for the system perl after all.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-06-02 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (13 votes). Check out past polls.

    Notices?