![]() |
|
more useful options | |
PerlMonks |
Re^5: The mystery of double negation (SvPOK)by tye (Sage) |
on Jul 13, 2015 at 21:51 UTC ( #1134599=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|