Skip to content

Commit d2e6925

Browse files
committed
link to Routine
1 parent 848a53d commit d2e6925

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/Type/Method.pod6

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
77
class Method is Routine { }
88
9-
A type for methods. To create a method outside a L<class
10-
definition|/language/typesystem#Methods>, use the declarators C<my> and C<method>:
9+
A type for methods that behave the same way then L<Routine|/type/Routine> with
10+
some exceptions listed in the following.
11+
12+
To create a method outside a L<class definition|/language/typesystem#Methods>,
13+
use the declarators C<my> and C<method>:
1114
1215
my $m = method ($invocant: $param) {
1316
say "$invocant: '$param'";

0 commit comments

Comments
 (0)