Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: The mystery of double negation

by Laurent_R (Canon)
on Jul 12, 2015 at 18:01 UTC ( [id://1134410]=note: print w/replies, xml ) Need Help??


in reply to Re^2: The mystery of double negation
in thread The mystery of double bitwise negation

You're right, but, still, ~~1 will return 1, i.e a true value. Why the author of the module did that, I have no idea.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1134410]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found