Created
August 13, 2015 06:45
-
-
Save purplexa/57c28afd36c5c0591763 to your computer and use it in GitHub Desktop.
perl logical operator confusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0 && 1 || 1 # true | |
| 0 && 1 or 1 # true | |
| 0 and 1 || 1 # false | |
| 0 and 1 or 1 # true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment