Skip to content

Commit 99aa1b7

Browse files
committed
fix examples
1 parent a92b760 commit 99aa1b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Str.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ If no matcher is supplied, a list of characters in the string
336336
Examples:
337337
338338
say "abc".comb.perl; # OUTPUT: «("a", "b", "c").Seq␤»
339-
say 'abcdefghijk'.comb(3).perl # OUTPUT: «("abc", "def", "ghi", "jk").Seq␤»
340-
say 'abcdefghijk'.comb(3, 2).perl # OUTPUT: «("abc", "def").Seq␤»
339+
say 'abcdefghijk'.comb(3).perl; # OUTPUT: «("abc", "def", "ghi", "jk").Seq␤»
340+
say 'abcdefghijk'.comb(3, 2).perl; # OUTPUT: «("abc", "def").Seq␤»
341341
say comb(/\w/, "a;b;c").perl; # OUTPUT: «("a", "b", "c").Seq␤»
342342
say comb(/\N/, "a;b;c").perl; # OUTPUT: «("a", ";", "b", ";", "c").Seq␤»
343343
say comb(/\w/, "a;b;c", 2).perl; # OUTPUT: «("a", "b").Seq␤»

0 commit comments

Comments
 (0)