Skip to content

Commit 050f4b7

Browse files
authored
Clarify pick
Note that only in method form can count be omitted to produce a single item instead of a Seq
1 parent db236af commit 050f4b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/List.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,8 +517,8 @@ and without repetition from the invocant. If C<*> is passed as C<$count>,
517517
or C<$count> is greater than or equal to the size of the list, then all
518518
elements from the invocant list are returned in a random sequence.
519519
520-
If C<$count> is omitted: Returns a single random item from the list, or
521-
Nil if the list is empty
520+
In I<method> form, if C<$count> is omitted: Returns a single random item from
521+
the list, or Nil if the list is empty
522522
523523
Examples:
524524

0 commit comments

Comments
 (0)