Skip to content

Commit

Permalink
make ^^ return Nil on too many trues
Browse files Browse the repository at this point in the history
  • Loading branch information
TimToady committed Jul 25, 2014
1 parent 0355caf commit 533c76b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions S03-operators.pod
Expand Up @@ -14,8 +14,8 @@ Synopsis 3: Operators

Created: 8 Mar 2004

Last Modified: 09 Jun 2014
Version: 276
Last Modified: 24 Jul 2014
Version: 277

=head1 Overview

Expand Down Expand Up @@ -1374,7 +1374,7 @@ C<< infix:<^^> >>, short-circuit exclusive-or
$a ^^ $b ^^ $c ...

Returns the true argument if there is one (and only one). Returns the
last argument if all arguments are false. Returns C<Bool::False>
last argument if all arguments are false. Returns C<Nil>
otherwise (when more than one argument is true). In list context
forces a false return to mean C<()>. See C<xor> below for
low-precedence version.
Expand Down

0 comments on commit 533c76b

Please sign in to comment.