We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4818aa3 commit 7bc35a6Copy full SHA for 7bc35a6
doc/Type/List.pod6
@@ -836,7 +836,7 @@ by iteratively applying a function which knows how to combine I<two> values.
836
If C<@values> contains just a single element, the operator is applied to that single element if possible; if not, it returns the element itself.
837
838
say [-] <10 5 3>; #OUTPUT: 2
839
- say [-] 10; #OUTPUT: -10
+ say [-] 10; #OUTPUT: 10
840
841
If it contains no elements, an exception is thrown, unless
842
C<&with> is an I<operator> with a known identity value. For this
0 commit comments