in reply to reliably test integer size for portable bit-fiddling?

I think so. Perhaps, it is also an option for you to ask perl itself with the help of core module Config?

perl -e 'use Config; print $Config{use64bitint} eq "define" ? "yes, " + : "not ", "64bit perl\n"'

Result (here):

yes, 64bit perl

Replies are listed 'Best First'.
Re^2: reliably test integer size for portable bit-fiddling?
by Tux (Canon) on Dec 09, 2014 at 07:32 UTC

    For that kind of inquiry, perl has extended use for the -V option, supporting regular expressions et all:

    $ perl -V:'use64bit(int|all)|[iu]vsize' ivsize='8'; use64bitall='define'; use64bitint='define'; uvsize='8';

    Enjoy, Have FUN! H.Merijn