in reply to Bitwise operations on a scalar

You can look at your limits with perl -V. To use bigger values use Math::BigInt or Bit::Vector.
Boris