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 8bfeb77 commit a31dd22Copy full SHA for a31dd22
ppcs/ppc0033-ampersand-method-calls.md
@@ -19,7 +19,7 @@ When using a lexical sub inside an object class, the subs must be called as
19
`method($object, @args)`. This works, but for many people, this feels wrong
20
as a way to call something thought of as a private method. This has resulted
21
in some people using syntax like `$object->${\&method}(@args)`, or continuing
22
-to use code refs stored in a lexical variable.
+to use code refs stored in a lexical variable (`$object->$method(@args)`).
23
24
## Rationale
25
0 commit comments