Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change ?|, ?&, and ?^ to the proper behavior (ie coercing to Bool bef…
…ore the operation).
  • Loading branch information
colomon committed Feb 5, 2010
1 parent 8aa3b7a commit 322d1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/operators.pm
Expand Up @@ -100,15 +100,15 @@ our multi infix:<after>($a, $b) {
}

our multi infix:<?|>($a, $b) {
?pir::bor__III($a, $b)
?(?$a +| ?$b)
}

our multi infix:<?&>($a, $b) {
?pir::band__III($a, $b)
?(?$a +& ?$b)
}

our multi infix:<?^>($a, $b) {
?pir::bxor__III($a, $b)
?(?$a +^ ?$b)
}

our multi infix:<min>(*@args) {
Expand Down

0 comments on commit 322d1ce

Please sign in to comment.