summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDan Book <grinnz@grinnz.com>2021-06-11 16:02:31 -0400
committerKarl Williamson <khw@cpan.org>2021-07-24 18:16:16 -0700
commitd2e37f76ef9bd3b769f74d663aa25e902d78cfa1 (patch)
treed4e997782aed95f0d735c5027bf8fcbdaf271098 /pod
parent86b9c84e9605ca4d897aa14a0e9eee1c831f2ed6 (diff)
downloadperl-d2e37f76ef9bd3b769f74d663aa25e902d78cfa1.tar.gz
perlop - Invocant only needs to be an object or class name for method calls
Diffstat (limited to 'pod')
-rw-r--r--pod/perlop.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index f07c6bc6f1..2a49aba337 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -230,8 +230,9 @@ assignment.) See L<perlreftut> and L<perlref>.
Otherwise, the right side is a method name or a simple scalar
variable containing either the method name or a subroutine reference,
-and the left side must be either an object (a blessed reference)
-or a class name (that is, a package name). See L<perlobj>.
+and (if it is a method name) the left side must be either an object (a
+blessed reference) or a class name (that is, a package name). See
+L<perlobj>.
The dereferencing cases (as opposed to method-calling cases) are
somewhat extended by the C<postderef> feature. For the