Skip to content

Commit 0ba7d40

Browse files
author
Jan-Olof Hendig
committed
Fixed missing semicolons and another broken example
1 parent b673cc9 commit 0ba7d40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/quoting.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ within the string, using curly braces:
8989
9090
=for code :allow<B L>
9191
my ($x, $y, $z) = 4, 3.5, 3;
92-
say "This room is B<$x> m by B<$y> m by B<$z> m."
93-
say "Therefore its volume should be B<{ $x * $y * $z }> m³!"
92+
say "This room is B<$x> m by B<$y> m by B<$z> m.";
93+
say "Therefore its volume should be B<{ $x * $y * $z }> m³!";
9494
9595
This room is 4 m by 3.5 m by 3 m.
9696
Therefore its volume should be 42 m³!
@@ -121,7 +121,7 @@ However, C<"@example.com"> produces C<@example.com>.
121121
122122
=for code :allow<B L>
123123
B«<»a b cB«>» L<eqv> ('a', 'b', 'c')
124-
B<qw|>! @ # $ % ^ & * \| < > B<|> eqv '! @ # $ % ^ & | < >'.words
124+
B<qw|>! @ # $ % ^ & * \| < > B<|> eqv '! @ # $ % ^ & * | < >'.words
125125
B<Q:w {> [ ] \{ \} B<}> eqv ('[', ']', '{', '}')
126126
127127
The C<:w> form, usually written C«<…>» or C<qw>, splits the string into

0 commit comments

Comments
 (0)