File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1166,7 +1166,7 @@ Usage:
1166
1166
Coerces the invocant (or in the sub form, the first argument) to
1167
1167
L < Str|/type/Str > , and returns a list of Unicode codepoints for each character.
1168
1168
1169
- say "Perl 6".ords; # 80 101 114 108 32 54
1169
+ say "Perl 6".ords; # 80 101 114 108 160 54
1170
1170
say ords 10; # 49 48
1171
1171
1172
1172
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
1188
1188
integers, and returns the string created by interpreting each integer as a
1189
1189
Unicode codepoint, and joining the characters.
1190
1190
1191
- say <80 101 114 108 32 54>.chrs; # Perl 6
1191
+ say <80 101 114 108 160 54>.chrs; # Perl 6
1192
1192
1193
1193
This is the list-input version of L < chr > . The inverse operation is L < ords > .
1194
1194
You can’t perform that action at this time.
0 commit comments