From d2e37f76ef9bd3b769f74d663aa25e902d78cfa1 Mon Sep 17 00:00:00 2001 From: Dan Book Date: Fri, 11 Jun 2021 16:02:31 -0400 Subject: [PATCH] perlop - Invocant only needs to be an object or class name for method calls --- pod/perlop.pod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index f07c6bc..2a49aba 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -230,8 +230,9 @@ assignment.) See L and L. 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. +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. The dereferencing cases (as opposed to method-calling cases) are somewhat extended by the C feature. For the -- 1.8.3.1