On Windows, how can I check whether my Perl installation is 32 or 64 bit?
log(~0 +1)/log(2) works because :
So basically this command order perl to say how many bits have its UINT_MAX.
$ perl -e "print log(~0 +1)/log(2)"
32
$ perl -V:archname
archname='MSWin32-x86-multi-thread';