Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[S03] remove fossil from back when we had want()

  • Loading branch information...
commit ebb02bcb00fa365846810eba530be2937859214c 1 parent 28401ee
Moritz Lenz moritz authored
Showing with 1 addition and 18 deletions.
  1. +1 −18 S03-operators.pod
19 S03-operators.pod
View
@@ -15,7 +15,7 @@ Synopsis 3: Perl 6 Operators
Created: 8 Mar 2004
Last Modified: 9 Apr 2012
- Version: 248
+ Version: 249
=head1 Overview
@@ -3175,23 +3175,6 @@ it must still take a single positional parameter (though any number of
named parameters are allowed, which can be bound to adverbs).
All other subs with arguments parse as list operators.
-=item *
-
-The C<&&> and C<||> operators are smarter about list context
-and return C<()> on failure in list context rather than C<Bool::False>.
-The operators still short-circuit, but if either operator would return
-a false value, it is converted to the null list in list context so
-that the false results are self-deleting. (If this self-deleting
-behavior is not desired, put the expression into item context rather
-than list context.) This self-deletion is a behavior of the operators
-themselves, not a general property of boolean values in list context, so
-either of:
-
- @foo = so($a||$b);
- @foo = not($a||$b);
-
-is guaranteed to insert exactly one boolean value into C<@foo>.
-
=back
=head1 Junctive operators
Please sign in to comment.
Something went wrong with that request. Please try again.