wollmers has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
for a module which uses a lot of bitwise operations I want to have it portable, thus test for 64 or 32 bit support, which seems to work like this:
helmut@raspberry2 ~ $ perl -e 'print length(pack('j', -1))*8,"\n";' 64
Will this work? I cannot test it, because even my raspberries have 64int-Perls.
Back to
Seekers of Perl Wisdom