Skip to content

Commit c5a4cb2

Browse files
authored
Revise description of named arrays in create-cli.rakudoc (#4719)
It's not true that other subs can't use named arrays: they just work a little different than in sub MAIN
1 parent f3903e6 commit c5a4cb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/create-cli.rakudoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ Usage:
294294

295295
=head2 Named arrays
296296

297-
The MAIN subroutine can also use a kind of named parameter not available
298-
to ordinary subs: the named array. This enables, for instance, providing
299-
two different short arrays as arguments on a command line.
297+
The MAIN subroutine can also use a different kind of named parameter: the named array.
298+
This enables, for instance, providing two different short arrays as arguments on a
299+
command line.
300300

301301
Declare a named-array parameter with C<:@> in sub MAIN's signature:
302302

0 commit comments

Comments
 (0)