So, you can say:
if ($value & 128) { print "1"; } else { print "0"; } [download]
In reply to Re^2: Bitwise operators by ysth in thread Bitwise operators by thevoid