Hello,

On 2024-11-27 21:50, Andrew Dunstan wrote:
it should give the same answer

Sometimes "version" and "api_versionstring" are different. Here are two simple examples from my windows system and from a linux system of one of my colleagues:

C:\Temp>perl -MConfig -e "print \"$Config{api_versionstring}\n\"; print \"$Config{version}\n\""
5.32.0
5.32.1
C:\Temp>perl -v
This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread

perl -MConfig -e 'print "$Config{api_versionstring}\n"; print "$Config{version}\n"'
5.38.0
5.38.2
perl -v
This is perl 5, version 38, subversion 2 (v5.38.2)


--
Best regards, Roman Zharkov.


Reply via email to