Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is Perl?


No, but Perl at the very least is available on the latest versions of Mac OS. Python is not. So as far as "being bundled with the latest OSes" goes, Perl beats Python.

NOTE: I am (probably mistakenly) assuming that Perl is still bundled in most Linux distros by default.


Python is available by default in macOS. Not latest version python, but available. (Both 2 & 3 I think, or maybe they've dropped 2 now.)


A minor update of macOS Monterey[1] removed /usr/bin/python, but /usr/bin/perl still exists. Xcode's Command Line Tools will install Python 3, but I do not count as being bundled by default with macOS. Unfortunately, I can't find any Apple documentation to prove this. You'll just have to check with a fresh install of macOS Ventura yourself (or, at your own risk, uninstall Xcode and/or the Command Line Tools)

[1] https://developer.apple.com/documentation/macos-release-note...


(Ouch, a minor update!) Oh ok, I stand corrected. I don't currently have any macOS machines.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: