Skip to content

Commit 2ee4b15

Browse files
committed
Fix link from classtut to Roles section in objects doc
1 parent 0de156d commit 2ee4b15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/Language/classtut.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ it is important to understand that there are more useful OOP concepts. When
506506
reaching for multiple inheritance it is good practice to consider whether
507507
the design wouldn't be better realized by using roles, which are generally
508508
safer because they force the class author to explicitly resolve conflicting
509-
method names. For more information on roles see A<sec:roles>.
509+
method names. For more information on roles see L<Roles|/language/objects#Roles>.
510510
511511
=head1 Introspection
512512

lib/Language/objects.pod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,9 @@ order:
513513
}
514514
}
515515
516-
=head1 X<Roles|declarator,role>
516+
=head1 Roles
517+
518+
X<Roles|declarator,role>
517519
518520
Roles are in some ways similar to classes, in that they are a collection of
519521
attributes and methods. They differ in that roles are also meant for

0 commit comments

Comments
 (0)