How can I find out which Perl version was available on older Mac OS X versions? - perl

I want to create Perl scripts that run on older OS X machines as well as on current versions. Is there a list or a resource where I can find out which Perl versions were distributed with older Mac OS X Versions (10.0 to 10.6)?

I'm sure there is some online resource to find this, probably at Apple Development Connection
However I have three machines to hand which show me that /usr/bin/perl versions are:
5.8.6 on 10.4 (Tiger)
5.8.8 on 10.5 (Leopard)
5.10.0 on 10.6 (Snow Leopard)
In all cases these are thread enabled.
Starting from Snow Leopard, multiple versions of perl are supported under the hood and it also comes with Perl 5.8.9 which you can switch to like so:
defaults write com.apple.versioner.perl Version 5.8.9
Also note that 5.10.0 on Snow Leopard is 64-bit. You can switch to 32-bit by using following:
defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes
/I3az/
Update:
A full list of Perl source code that Apple has compiled with Mac OS X can be found on their Perl opensource page.
Working out what the packaging version numbers mean and how they refer to each version of Mac OS X may take some effort. However each package does show which Perl was compiled with the options, patches & extra modules Apple applied to it.
See Perl and Mac OS X versions for my best stab at working all this out.

Related

Why I can see two enabled python versions in my pyenv versions command result?

Hi I see two enabled versions in my pyenv versions result. Why is that, and what is this feature, how does it work?
Thanks.
Based on your comments, you have 2 versions, 2.7 and 3.9. If you are on a Mac or certain Linux distros, Python 2 comes preinstalled, which is why you would see it along with any other versions you installed (in this case 3.9).

microsoft.quantum.development.kit qsc.dll error

.nuget\packages\microsoft.quantum.development.kit\0.2.1809.701-preview\tools\qsc\qsc.dll'. Format of the executable (.exe) or library (.dll) is invalid.
How to repair qsc.dll?
Unfortunately, the quantum development kit only works with 64 bits OS (Windows, MacOS, Linux), and it appears that you are using a 32bit version of Windows.
I don't have any good option for you, except to upgrade the OS but I'm not certain there is a 64 bit version of Windows 10 Education.
As a limited option, you can try to execute some simple code in tio: https://tio.run/#qs-core.
I encourage you to create an item about this in https://quantum.uservoice.com/ where most of the feedback for the quantum development kit is gathered.

Solaris11 packaging

I am just started exploring the Solaris kernel. I am studying the Solaris kernel modules. During my study I got following question, Is it possible to embed two kernel modules (e.g Solaris 11 and Solaris 11.4 kernel modules) in single package? This scenario is doable in Linux but not sure it is possible in Solaris.
It is possible to embed two modules (say /kernel/misc/foo and /kernel/drv/bar) in the same Solaris IPS package, but not two versions of the same module for different OS releases (such as /kernel/drv/bar for 11.3 and /kernel/drv/bar for 11.4). That problem is usually solved by making two versions of the package - one for the older release and one for the newer release, during the transition period (such as right now, since Solaris 11.4 just came out, so not everyone has upgraded from 11.3 yet - Solaris 11.0 through 11.2 are no longer supported, so you shouldn't need to build modules for them).

Run DITA OT in Mac OS?

The DITA OT documentation has quite a bit of information about how to run the DITA OT in a Windows environment, but not much at all about running it in Mac OS. What is the procedure for running it in Mac OS (Mountain Lion)? Especially if you need to set environment variables (which is kind of tricky in Mac OS)
DITA-OT installation for OS X is documented in DITA-OT user guide.

installing Win32::OLE on mac os x

Mac OS X supports Microsoft OLE.
Does anyone know if it's possible to install the Win32::OLE perl module on mac OS X?
I know the module isn't supported on Mac, but would it be possible to try and compile anyway?
I don't think so that Mac Os X supports Microsoft OLE nativly. I think, it is some kind emulating or something like that.
Win32* modules checks the osversion ($^O if I am correct) to detect which os is run.
With force and without tests you could install this module but I think is won't work after install.
If you have an evidence that Mac OS X supports MS OLE please link that article into your question and you could ask the module maintainer to support OSX if it is really support OLE.
regards,
Modules in the Win32:: namespace, are for modules that work directly with Windows.
This means that it won't work on anything that doesn't present itself as Windows.
You could use a Win32 build of Perl running under WINE. Note that this would only be able to work with Windows versions of a program that are also running under WINE. (Assuming you can get it to work at all.)