in reply to Bitwise ops inconsistent
First, you should provide a complete example including the data that generates the result shown.
Second, your results would be much clearer of you printed hex rather than decimal numbers (use printf "OR: %08x\n", $or; for example).
Third, always use strict; use warnings;
|
|---|