Skip to content

Commit 3625f54

Browse files
author
Jan-Olof Hendig
committed
Fixed three broken links
1 parent 0c8fecf commit 3625f54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Language/traps.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ with L<lists|/type/List>, despite the name of the L<.index routine|/type/Str#rou
255255
256256
=head2 Lists become strings, so beware .index()ing
257257
258-
L<List|/type/List> inherits from L<Cool|/type/Cool/>, which provides access to
258+
L<List|/type/List> inherits from L<Cool|/type/Cool>, which provides access to
259259
L<.index|/type/Str#routine_index>. Because of the way C<.index>
260260
L<coerces|/type/List#method_Str> a List into a L<Str|/type/Str>, this can
261261
sometimes appear to be returning the index of an element in the list, but
@@ -454,7 +454,7 @@ say "cba".comb.sort.join; # OUTPUT: «abc␤»
454454
455455
=head2 C<.chars> Gets the Number of Graphemes, not Codepoints
456456
457-
In Perl 6, L«C<.chars>|chars>» returns the number of graphemes, or user visible characters.
457+
In Perl 6, L«C<.chars>|chars» returns the number of graphemes, or user visible characters.
458458
These graphemes could be made up of a letter plus an accent for example.
459459
If you need the number of codepoints, you should use L«C<.codes>|codes». If you need
460460
the number of bytes when encoded as UTF8, you should use C<.encode.bytes> to
@@ -1200,7 +1200,7 @@ $b.sayit; # nothing
12001200
12011201
=head2 C<LEAVE> phaser and C<exit>
12021202
1203-
Using L«C<LEAVE>|/syntax/LEAVE» phaser to perform graceful resource
1203+
Using L«C<LEAVE>|/language/phasers#LEAVE» phaser to perform graceful resource
12041204
termination is a common pattern, but it does not cover the case when
12051205
the program is stopped with L«C<exit>|/routine/exit».
12061206

0 commit comments

Comments
 (0)