Skip to content

Commit 56ee890

Browse files
author
Jan-Olof Hendig
committed
Fixed a few typos
1 parent f62e860 commit 56ee890

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Language/quoting.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ You can also use unicode names with C<\c[]>.
199199
200200
my $s = "Camelia \c[BROKEN HEART] my \c[HEAVY BLACK HEART]!";
201201
dd $s;
202-
# OUTPUT: «Str $s = "Str $s = "Camelia 💔 my ❤!"␤»
202+
# OUTPUT: «Str $s = "Camelia 💔 my ❤!"␤»
203203
204204
Interpolation of undefined values will raise a control exception that can be
205205
caught in the current block with
@@ -241,8 +241,8 @@ It's easier to write and to read this:
241241
X«|< > word quote»
242242
243243
=for code :allow<B L> :skip-test
244-
B«<»a b cB«>» L<eqv> ('a', 'b', 'c'); # OUTPUT: «True␤»
245-
B«<»a b 42B«>» L<eqv> ('a', 'b', '42'); # OUTPUT: «False␤», the 42 become an IntStr allomorph
244+
say B«<»a b cB«>» L<eqv> ('a', 'b', 'c'); # OUTPUT: «True␤»
245+
say B«<»a b 42B«>» L<eqv> ('a', 'b', '42'); # OUTPUT: «False␤», the 42 become an IntStr allomorph
246246
say < 42 > ~~ Int; # OUTPUT: «True␤»
247247
say < 42 > ~~ Str; # OUTPUT: «True␤»
248248
@@ -298,7 +298,7 @@ you need to use the C<qqw> variant:
298298
299299
my $a = 42;
300300
my @list = qqw{$a b c};
301-
say @list; # OUTPUT: «42 b c␤»
301+
say @list; # OUTPUT: «[42 b c]␤»
302302
303303
Note that variable interpolation happens before word splitting:
304304

0 commit comments

Comments
 (0)