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.
2 parents f8c5be4 + 3965a9c commit 1b67130Copy full SHA for 1b67130
doc/Language/objects.pod6
@@ -265,7 +265,8 @@ Method names can be resolved at runtime with the C<.""> operator.
265
Inside a method, the term C<self> is available, which is bound to the
266
invocant, i.e. the object that the method was called on. C<self> can be
267
used to call further methods on the invocant. Within methods, something like
268
-C<$.origin> is the same thing as C<self.origin>.
+C<$.origin> is the same thing as C<self.origin>, however the colon-syntax for
269
+method arguments is only supported for method calls using self, not the shortcut.
270
271
=head2 Private Methods
272
0 commit comments