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 |