System perl upgrade in MacOS Big Sur 11.4?

The upgrade to 11.3 changed the perl version that comes with MacOS to v5.30.2. This was mentioned nowhere and screwed up some of the software I use. I spent days fixing it so I would appreciate if someone could tell me if it Apple decided to do this again (e.g. Terminal: perl --version)?


Best

MacBook Pro Retina

Posted on May 26, 2021 8:11 AM

Reply
6 replies

May 29, 2021 6:52 PM in response to Xives

Xives wrote:

The upgrade to 11.3 changed the perl version that comes with MacOS to v5.30.2. This was mentioned nowhere and screwed up some of the software I use. I spent days fixing it so I would appreciate if someone could tell me if it Apple decided to do this again (e.g. Terminal: perl --version)?

It is not unusual for Apple to update 3rd party tools like that. Perl scripts should work fine in newer versions. It's not Python.


However, the scripting languages that Apple includes in the operating system are only meant for Apple's own use. You should not rely on them. It is better to install your own version of any scripting languages, especially if you have hard dependencies on specific versions. Please see the macOS 11 release notes:

Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. In future versions of macOS, scripting language runtimes won’t be available by default, and may require you to install an additional package.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

System perl upgrade in MacOS Big Sur 11.4?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.