We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 848a53d commit d2e6925Copy full SHA for d2e6925
doc/Type/Method.pod6
@@ -6,8 +6,11 @@
6
7
class Method is Routine { }
8
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>:
+A type for methods that behave the same way then L<Routine|/type/Routine> with
+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>:
14
15
my $m = method ($invocant: $param) {
16
say "$invocant: '$param'";
0 commit comments