Skip to content

Commit ac13c67

Browse files
committed
Examples were fixed
1 parent a8747c5 commit ac13c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/Cool.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ Usage:
11661166
Coerces the invocant (or in the sub form, the first argument) to
11671167
L<Str|/type/Str>, and returns a list of Unicode codepoints for each character.
11681168
1169-
say "Perl 6".ords; # 80 101 114 108 32 54
1169+
say "Perl 6".ords; # 80 101 114 108 160 54
11701170
say ords 10; # 49 48
11711171
11721172
This is the list-returning version of L<ord>. The inverse operation in
@@ -1188,7 +1188,7 @@ Coerces the invocant (or in the sub form, the argument list) to a list of
11881188
integers, and returns the string created by interpreting each integer as a
11891189
Unicode codepoint, and joining the characters.
11901190
1191-
say <80 101 114 108 32 54>.chrs; # Perl 6
1191+
say <80 101 114 108 160 54>.chrs; # Perl 6
11921192
11931193
This is the list-input version of L<chr>. The inverse operation is L<ords>.
11941194

0 commit comments

Comments
 (0)