in reply to Re: Bitwise ops inconsistent
in thread Bitwise ops inconsistent

use Math::BigInt;
But not the one shipped with 5.6.1; upgrade to the latest version on CPAN.