Skip to content
This repository
Browse code

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

  • Loading branch information...
commit ebb02bcb00fa365846810eba530be2937859214c 1 parent 28401ee
Moritz Lenz moritz authored

Showing 1 changed file with 1 addition and 18 deletions. Show diff stats Hide diff stats

  1. +1 18 S03-operators.pod
19 S03-operators.pod
Source Rendered
@@ -15,7 +15,7 @@ Synopsis 3: Perl 6 Operators
15 15 Created: 8 Mar 2004
16 16
17 17 Last Modified: 9 Apr 2012
18   - Version: 248
  18 + Version: 249
19 19
20 20 =head1 Overview
21 21
@@ -3175,23 +3175,6 @@ it must still take a single positional parameter (though any number of
3175 3175 named parameters are allowed, which can be bound to adverbs).
3176 3176 All other subs with arguments parse as list operators.
3177 3177
3178   -=item *
3179   -
3180   -The C<&&> and C<||> operators are smarter about list context
3181   -and return C<()> on failure in list context rather than C<Bool::False>.
3182   -The operators still short-circuit, but if either operator would return
3183   -a false value, it is converted to the null list in list context so
3184   -that the false results are self-deleting. (If this self-deleting
3185   -behavior is not desired, put the expression into item context rather
3186   -than list context.) This self-deletion is a behavior of the operators
3187   -themselves, not a general property of boolean values in list context, so
3188   -either of:
3189   -
3190   - @foo = so($a||$b);
3191   - @foo = not($a||$b);
3192   -
3193   -is guaranteed to insert exactly one boolean value into C<@foo>.
3194   -
3195 3178 =back
3196 3179
3197 3180 =head1 Junctive operators

0 comments on commit ebb02bc

Please sign in to comment.
Something went wrong with that request. Please try again.