http://qs1969.pair.com?node_id=1134599


in reply to Re^4: The mystery of double negation (bool 0)
in thread The mystery of double bitwise negation

Of course. !1 is a dual-value of empty string plus 0. Bitwise operators operate on integers if the scalar has an authoritative ("public") numeric value, otherwise they operate on strings. QED.

- tye