Merge pull request #867 from ugexe/patch-1

0 // 5 = 0
This commit is contained in:
ven 2014-11-16 21:24:13 +01:00
commit a8e7f808d3

View File

@ -1177,7 +1177,7 @@ $obj eqv $obj2; # sort comparison using eqv semantics
## * Short-circuit default operator ## * Short-circuit default operator
# Like `or` and `||`, but instead returns the first *defined* value : # Like `or` and `||`, but instead returns the first *defined* value :
say Any // Nil // 0 // 5; #=> 5 say Any // Nil // 0 // 5; #=> 0
## * Short-circuit exclusive or (XOR) ## * Short-circuit exclusive or (XOR)
# Returns `True` if one (and only one) of its arguments is true # Returns `True` if one (and only one) of its arguments is true