You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Language/5to6-perlfunc.pod6
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2080,9 +2080,7 @@ As with C<wait>, the disposition of this is unclear.
2080
2080
2081
2081
=itemwantarray
2082
2082
2083
-
There is no C<wantarray> in Perl 6, because L<reasons|/language/faq#Why_is_wantarray_or_want_gone?_Can_I_return_different_things_in_different_contexts?>.
2084
-
2085
-
There are very easy ways to cover many of the use cases which wantarray filled.
2083
+
There is no C<wantarray> in Perl 6; however, there are very easy ways to cover many of the use cases which wantarray filled.
2086
2084
2087
2085
First, since Perl 6 does not need special reference syntax to contain
2088
2086
a C<List> or C<Array> in a C<Scalar>, simply returning a list may be
0 commit comments