Skip to content

Commit eed4ffb

Browse files
authored
Merge pull request #1022 from dmaestro/quoting_qw_fix_example
Fix example that mixed up q:w and Q:w
2 parents 2fb08fe + 37849ba commit eed4ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/Language/quoting.pod6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ X<|qw word quote>
162162
163163
=for code :allow<B L>
164164
B<qw|>! @ # $ % ^ & * \| < > B<|> eqv '! @ # $ % ^ & * | < >'.words
165-
B<Q:w {> [ ] \{ \} B<}> eqv ('[', ']', '{', '}')
165+
B<q:w {> [ ] \{ \} B<}> eqv ('[', ']', '{', '}')
166+
B<Q:w |> [ ] { } B<|> eqv ('[', ']', '{', '}')
166167
167168
The C<:w> form, usually written as C<qw>, splits the string into
168169
"words". In this context, words are defined as sequences of non-whitespace

0 commit comments

Comments
 (0)